Processing using DEF records

ABSTRACT

A system and method for processing telephone calls and providing enhanced services is presented. The call processing system includes a network control processor for controlling the processing and routing of the calls and for providing enhanced features, and a matrix switch for routing calls from an originating location to a terminating location. Operator consoles can be included to provide operator assistance to the caller. The network control processor comprises a central message processor that receives call data, determines the type of call, determines the processing required, and determines whether operator assistance is required. A call route distributor allocates an operator console to the call if required. A billing server is used to track billing information for the call while it is in progress. A database server is provided for database look-ups and storage. The call processing system also includes a validation system, a billing system, a distribution system, and a fraud detection and prevention system. The validation system is used to validate call information to determine whether the call can be placed. The billing system determines rates for calls and calculates the cost of completed calls. The distribution system distributes changes that are made to a master database to the appropriate slave database. The fraud detection and prevention system monitors originating and in-process calls to detect and possibly prevent possible fraudulent uses of phone services and systems. A client interface is provided to facilitate communications among applications and DEF records are used to define specific call processing actions.

This application is a division of application Ser. No. 08/136,211, filedOct. 15, 1993, U.S. Pat. No. 5,590,181.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates generally to systems and methods used inprocessing telephone calls, and more particularly, to systems andmethods for allowing telephone carriers to offer enhanced products andservices to their subscribers.

2. Related Art

Deregulation of the long-distance telephone industry spawned the growthof numerous long-distance service providers, each vying for a share ofthe United States' long-distance market. Thus far, the U.S. industry isdominated by three large companies: AT&T, MCI and Sprint. These largecarriers have the resources and capital at their disposal to enable themto develop and provide a wide range of telephone-related services totheir customers.

Perhaps less known, but still extremely important in the more than $50billion interexchange U.S. long-distance market, are the smallercompanies. In 1991, AT&T, MCI and Sprint controlled approximately 85percent of the U.S. market. At this time, 12 medium-sized companiesshared eight percent of the U.S. market. The remaining seven percent ofthe U.S. market was divided among nearly 320 small carriers.

The larger carriers are able to attract customers by offering a fullrange of services in addition to direct dial calling. These servicesinclude, but are not limited to: operator-assisted calling, full-featurecalling cards, and specialized 800 number routing.

The strategy followed by the smaller carriers in attracting customershas been to offer excellent service and low-cost, direct-diallong-distance calling (e.g. 1+ calling). Many smaller carriers, forexample, focus on a particular geographic market. By understanding themarket's calling patterns, the smaller carrier can maximize crucialeconomies and can attract subscribers by offering long-distance callingat rates lower than those offered by larger carriers.

Additionally, many smaller carriers use the fact that they are a small,local business in order to attract other local businesses as theirclients. These carriers stress the ability to offer more personalized,responsive attention than some larger carriers may provide.

However, many of the smaller carriers are finding it increasinglydifficult to compete with the larger carriers by offering direct-dialcalling alone. For these carriers to attract and retain customers, theyneed the ability to offer the same range of features and servicesprovided by some of the larger carriers. For example, a small carriermay have a small travel agency as a long-distance subscriber. As thetravel agency grows, develops more business, and hires additionalsalespersons, the travel agency's telephone services requirements alsogrow. The travel agency may want to offer calling cards to itssalespersons who travel frequently. The travel agency may also want theability to re-route an incoming call that was made to their 800 number.Such re-routing allows the travel agency to re-route incoming 800-numbercalls to any telephone number, a voice mailbox, or a pager.Additionally, the travel agency may want the ability for its officeworkers, clients and vendors to make operator-assisted calls.

Unfortunately, most smaller carriers can only provide direct-dial longdistance service to its customers. If a smaller carrier wants to offerenhanced products to its customers, the smaller carrier has two choices.First, the smaller carrier may purchase its own telephone switchingsystem and operator consoles. Second, the smaller carrier may purchaseand resell the products of one of its larger competitors.

However, reliable, affordable, and scalable switching equipment is notcommercially available. If a long-distance carrier wants to purchase itsown equipment, the selection is limited to the large-scale complexswitching systems that are currently available. Because these systemsare costly, in most instances, the smaller carrier is forced to gothrough a larger carrier to obtain enhanced products.

Several problems arise out of the inability of smaller carriers toprovide enhanced calling services. Four of these problems are nowdescribed.

First, the flexibility and customization options available to thesmaller carriers in providing services are limited when they resell theproducts of their larger competitors. One reason for this is that thoseproducts were not designed with the smaller carriers' needs in mind. Forexample, consider a smaller carrier that wants to offer a product like800 number forwarding to its customers. The smaller carrier will wantits customers to hear customized user prompts, including theidentification of the carrier. The smaller carrier will also want toestablish its own prices for the service. To further customize itssystems, the carrier may want to change the way the call processes, orto add additional features such as the ability to route an 800 number toa voice mailbox.

In another example, the smaller carrier is unable to providecarrier-unique operator services. The cost of providing operatorservices prohibits most smaller carriers from hiring their own operatorsand purchasing the required equipment. Instead, smaller carrierstypically purchase operator services from a competitor carrier or fromoperator service providers.

One drawback of having to use a competitor's operators is the inabilityto custom brand the call. For example, when a customer of the smallercarrier places an operator-assisted call using a competitor carrier'soperators, she hears the operator of the competitor carrier thank herfor using the competitor carrier's services.

Another drawback of having to use another's operators is the inabilityto custom-tailor call processing because the operator services providedand the operator responses cannot be customized. The smaller carrier hasno control over the operators used by the competitor carrier or theoperator service provider.

Relying on larger carriers for providing these enhanced products doesnot give smaller carriers the flexibility they desire. This is becausesmaller carriers cannot customize the products they obtain from thelarger carriers to provide unique services to their subscribers.

A second problem is the range of services that can be provided by asmaller carrier is limited to the services that carrier can purchasefrom its competitors. As a result, the smaller carrier often cannotcreate innovative new products and services to offer its customers.

An additional problem is that the amount of fraudulent callingconsidered acceptable, and therefore not monitored or halted by a largercarrier, may be well above a level that is economically tolerable forthe smaller carrier.

Another problem is the smaller carrier's inability to get customizedfulfillment material through a competitor carrier. For example, callingcards provided by a larger competitor carrier, in turn to be provided tothe smaller carrier's customers, often bear the name of the competitorcarrier.

In summary, because the small carriers must rely on the largercompetitor carriers for advanced products and services such as callingcards, operator assistance, 800 service, audiotext, voice mail, and thelike, the smaller carriers cannot offer a full range of carrier-uniqueand customer-unique products. As a result, the smaller carriers losepart of their ability to compete in the U.S. long-distance market.

The problems of flexible control of a telephone network are not limitedto the smaller carriers or the long-distance industry. All telephonecarriers would benefit from the ability to offer popular, customized,value-added services. Commercially available hardware and conventionalsolutions to date, however, do not offer this ability.

SUMMARY OF THE INVENTION

The present invention is directed to a call processing system and methodwhich provides a wide range of enhanced calling products and features tosubscribers. The subscribers can include individual users as well ascustomers who, in turn, provide telephone service to their own clients(also called "users". These customers can include telephone carrierswhose clients are subscribers of the carriers' network and can alsoinclude other types of businesses.

The call processing system is implemented in such a way thatcustomer-unique and user-unique customized products and features can beprovided. The features, products and services provided can beextensively customized to provide system flexibility and to offer usersthe option of choosing the level and types of features, products andservices they receive. Customization can also be provided at thebusiness- or carrier-customer level so that these customers can choosethe level and types of features, products and services they wish to makeavailable to their clients.

The call processing system includes at least one network controlprocessor (NCP) and at least one switch (for example, a matrix switch).The network control processor (NCP) is a unique combination of hardwareand software configured to determine the type of call being placed, thetype of handling to be provided to the call, and to control the routingof the call. Because the NCP makes call handling and routingdeterminations regarding each call received, the switch implemented canbe a passive switch that simply responds to routing instructionsreceived from the NCP. Thus, control of the call is maintained by theNCP.

One feature of the invention is that it provides call data associatedwith a call is provided to the NCP to enable the NCP to make callprocessing determinations. The call data can include information such asthe originating (caller's) phone number (the ANI), the called phonenumber, originating and terminating area codes, customer identificationcodes, and other like information. The NCP uses this call data to makedeterminations regarding the manner in which each individual call is tobe handled and to instruct the switch on how to route the call.

According to this philosophy, only the audio portion of the call isrouted to the switch. The call data is not routed to the switch.Therefore, all call processing and handling determinations are made bythe NCP and the switch can be implemented as a passive device.

The call processing system can also include one or more operatorconsoles to provide operator assistance to callers. The operatorconsoles provided can be manual operator consoles (MOCs) staffed byhuman operators to provide a human operator interface to callers.Alternately the operator consoles can be automated voice response units(VRUs) that provide automated assistance to callers. Additionally, acustomer service console (CSC) can be used to provide detailed customerassistance to subscribers.

When a call is received by the call processing system, the call data isrouted to the NCP and the call audio to the switch. The NCP beginshandling the call while the audio circuit is held at the switch. The NCPfirst assigns a callhandle to the call; this is a unique identifier thatcan be used to identify both the call and call handling operationsperformed in conjunction with the call.

Once a callhandle is assigned, the NCP determines the type of handlingand/or processing the call requires. In one embodiment, this isaccomplished by retrieving call parameters for the call. The callparameters indicate the type of call being placed, whether and what typeof operator assistance is required, and other processing required forthe call. The call parameters are contained in a data record that isretrieved based on the call data. The NCP uses the call data for eachcall to look up a data record that contains the call parameters for thatcall. Because different data records can be maintained for differentcombinations of call data, unique or custom call handling and/orprocessing can be defined down to the customer and/or user level.

The call parameters include information on how the call is to beprocessed in the call processing system. The call parameters includewhat are termed a "DEF Record Number" and a "Base Process Number" thatpoint to a series of data records chained together to define the callprocessing required for the call. These records are termed "DEFRecords." DEF records are described in more detail below.

The call parameters also include information regarding whether operatorassistance is required to handle the call. If operator assistance isrequired, call parameters include a device type list that indicates thetype of operator assistance required. This list can specify whether aMOC, VRU, or CSC can be used to handle the call. Because call parameterscan be uniquely defined for each customer and/or user, the operatorservices provided can be customized down to the same level, if desired.Thus, a particular caller can be defined as always receiving operatorassistance from a human operator, or a particular call type (such as acalling card call) can always be designated to receive automated VRUhandling initially. The device type list can also indicate that a lesscomplex device, such as a recorded message playback device is required.

Call parameters can provide further specificity in the type of operatorassistance required. For example, the call parameters can include alanguage type that indicates the particular call requires operatorassistance in a specific language. When the NCP retrieves callparameters that indicate a specific language is required, the call isrouted to an operator console that can provide assistance in thatlanguage. For example, when a call is received from a specificoriginating number, the call parameters retrieved for that number mayindicate that Spanish-language operator assistance is desired. Again, aswith the other call parameters, the determination is made based on calldata associated with the call. Thus, the language provided to handleeach call can be customized at the user and/or customer level.

If operator assistance is required, the NCP allocates an operatorconsole to handle the call. The allocation is made based on the callparameters retrieved for the call. For example, if a device type listindicates that a MOC is desired, the call is routed to an available MOC.If no MOC is currently available, the call can be placed on a queue.Music and/or other messages can be provided to the caller while the callis queued. A status display provides a visual indication of the numberof calls in the queue.

So that the correct device type can be allocated to handle a given call,the NCP maintains a list of consoles available to handle calls and thoseconsoles currently handling calls. The list can include informationabout each console pertaining to the type of console, the languages thatconsole can support, and other pertinent information. Thus, if aFrench-speaking human operator is required, the NCP checks the list tosee if a MOC with a French-speaking operator is currently available. Ifavailable, that console is allocated to handle the call. If unavailable,the call is queued.

Once a console is allocated to handle a call, the NCP instructs theswitch to route the call audio to the allocated console. Because theswitch is routing only the call audio (and is not handling call data),the consoles can be treated as any other terminating point on theswitch. Thus specific, or dedicated, operator console ports are notrequired on the switch.

The NCP also sends operator control data to the allocated operatorconsole, informing the allocated console that a call is being routed toit. Included with the operator control data is the base process number,a DEF record number and other call information from the call data.

When the call audio is routed to the operator console, the operatorrequests information from the caller. A script is displayed on a screenon the operator console for the human operator to read. For an automatedVRU, the script is a recorded or synthesized voice that prompts thecaller for information. The particular script to be read or played isretrieved from a database by the operator console when processing thecall. One manner in which this can be accomplished is through the use ofDEF records as discussed below.

The caller responds with the requested information. This informationcould be verbally provided to a human operator, who then enters it intothe system via the operator console, or could be a sequence of one ormore keys pressed on the telephone keypad. The information requested ofthe caller can include: the number to be called (if not originallyentered on a 0-call); billing information such as a calling card number,enhanced services card number, credit card number, debit card number, ortelephone number to be billed; a feature identification (for example 2#for speed-dial); a security code; and other like information.

The information entered is validated to ensure that it is correct andthat the call can be completed. One method of performing validations isto do an internal validation. For example, the called number isvalidated to ensure that it is the correct number of digits orterminating number is validated to ensure that the call is being placedto an area that is within that caller's allowed calling area (ifrestricted).

Alternatively, a validation system, which is part of the call processingsystem, could be used to validate other information required to completethe call. Billing information can be validated to ensure that the methodof billing is acceptable. Credit card numbers can be checked throughvalidation service providers and debit cards can be checked to determinewhether the balance is sufficient to place the call. Security codes canbe checked against the feature to be accessed, the originating number,the billing information, or other parameters screened through the use ofthe security codes.

If the information entered is invalid, the caller may be given a secondchance to re-enter the correct information, or alternatively, the callmay be terminated. If the call is being handled by a VRU, the VRU maytransfer the call to a human operator to provide additional assistance.The number of chances provided to a caller who enters incorrectinformation, whether and when the call is transferred to a humanoperator, and when the call is terminated due to invalid information iscustomizable to the customer and user, as parameters in the DEF record.

If the information is valid, the operator console sends data to the NCPindicating that the call can be routed to the terminating (called)number. The NCP performs a number translation, where required, todetermine the proper routing for the call. Once the routing isdetermined, the NCP generates instructions to command the switch toroute the call to the destination. In one embodiment, the switchinstructions are packetized for transmission via a LAN. A gatewayremoves the instructions from the LAN packet(s) and formats them into aform that is recognized by the switch (SS#7). The NCP also releases theoperator console from the call so that it is free to handle anothercall.

The switch routes the call to the destination via a telephone networkbased on the instructions received from the NCP. Standard telephonysignalling can be used to complete the call to the called number. Thisincludes call accept messages (for example, ACMs) and answer messages(for example, ANMs).

If the call does not require operator assistance, the operatorallocation steps and the operator handling steps described above can bebypassed. In this case, the called number can be validated to determinewhether the call can be completed. This can include validations todetermine whether the call is to an acceptable calling area and whetherthe called number contains the correct number of digits.

The validation system can be used to validate billing information, andinformation i.e., whether a credit card number is valid for credit cardcalls.

When an operator console wishes to validate call information prior tothe completion of a call, it sends a validation request to thevalidation system. The validation request includes an index and calldata or other information to be validated. When the validation systemreceives the request to perform a validation, it retrieves validationinstructions, termed "p-code," from a database. These instructionscontain the process to be followed in validating the information. In oneembodiment, the index provided with the validation request indicates thespecific p-code instruction to retrieve for that validation. Theoperator console requesting the validation determines the index andprovides it with the request. In one embodiment, the index is definedbased on the call type. Thus, for each call of the same type (i.e. foreach calling card call, or for each credit card call, etc.), the indexpoints to the same p-code instruction. In alternative embodiments, theindex can be uniquely defined at the user and/or customer level tocustomize the validation process at this level.

The retrieved p-code instruction provides information to the validationsystem regarding validation of the call. For example, the p-codeinstructions may tell the validation system that it must first look forthe originating number (ANI) in a hot/cold database. If the numberappears as a "hot" number, the validation fails and the call should notbe completed for that number. An example of when this occurs is when anoriginating number is used to place fraudulent calls. This number can beput in the hot file to stop toll calls from being placed from thatnumber. If the number appears as a "cold" number, that call is to becompleted without further validation. This could be used for callsoriginating from a number where time is of the essence.

The p-code may then instruct the validation system to validate the callagainst a validation index file. In this validation step, the call data(for example called number, originating number, originating area code,etc) is validated against various parameters to determine whether thecall should be blocked. If the call is blocked, a response is sent tothe console indicating that the call cannot be completed.

The p-code may also instruct the validation system to perform anexternal validation. One example of where this is useful is where acredit card number is to be validated via an external credit cardvalidation service. In this step, the outside source is contacted viamodem or other datalink and provided with the information to bevalidated. The outside source performs the validation and responds witha positive or negative response. If the information is invalid, aresponse is sent to the console indicating that the call cannot becompleted.

A key feature provided by this architecture is that changes to thevalidation process can be made quickly and easily by simply updatingp-code in the database. Operational code of the validation system doesnot have to be recompiled to implement changes to the validationprocess.

The call processing system also can include a billing system fordetermining the rates for calls and services, determining the costs forcalls and services, and for generating bills to bill subscribers of thecall processing system. The billing system includes a rating system, arate file, and a toll file.

The billing system can provide rate quotes for a call that tell therequestor how much a call will cost. This feature can also be used bythe call processing system to determine when the dollar amount left on auser's debit card is going to be depleted. In one embodiment, when auser places a debit card call, the operator console requests a ratequote from the billing system. The billing system looks up the rate forthe call in the rate file. The rate can be based on the time of day, thedistance over which the call is placed and the particular customer oruser placing the call.

The billing system provides the quote to the operator console and to theNCP. The NCP retrieves information indicating the remaining dollaramount on the credit card. The NCP then computes the amount of time thatis remaining on the card based on the rate quote for the call and theremaining dollar amount. When the remaining time is about to expire, theuser is provided with a warning indicating how much time is left. Whenthe time expires, the call can be terminated or the user given optionsto replenish the debit card.

When a call is received by the call processing system for routing, abilling information record (BIR) is generated for the call. Among otherinformation, the BIR is updated with timing information such as when thecall is completed to a VRU or to an operator console or when it isterminated. When the call is completed, the BIR is sent to the billingsystem so the cost of the call can be calculated. The billing systemuses the time information to compute wholesale and retail calldurations. The billing system uses other information contained in orderived from the BIR such as time of day and distance of the call toretrieve a rate for the call. The billing system calculates a cost forthe call (wholesale and/or retail) using the appropriate rate and thecall duration. If required, a tax for the call is computed and added tothe cost of the call. The cost information is stored in a toll file fromwhich bills can be generated and sent to the appropriate subscriber.

According to one embodiment of the present invention, call processing isperformed using what are known as DEF records. The call parametersdetermined by the NCP when a call is received include informationpertaining to a DEF record and a base process for processing the call.This information is provided to the operator console in the form of abase process number and a DEF record number. In processing the call, theoperator console starts the base process identified by the NCP. The baseprocess is the basic process that is to be followed by the operatorconsole in handling the call. It can include the basic steps to befollowed by the operator console and can be coded to look for specificdata (identified by tag numbers) in a DEF record, respond to certaintypes of information contained within the DEF record, or wait for andrespond to information received from the caller.

The base process is started by the operator console. The base processindicates the data (using tag numbers) to be retrieved from theidentified DEF record, and the order in which it is to be retrieved.This data contains information regarding steps to be performed inprocessing the call. The data may indicate that certain scripts are tobe played (or synthesized or read) to the caller, that certainvalidations are to be performed, or other processes started. The datamay also indicate the actions that are to be taken in response to keyentries made by the caller. When the base process is finished, it runs afinish process. The finish process may point to another process to berun or it may point to a complete process used to complete the call.

Because call processing is controlled using data records, one advantageof using DEF records is that changes to the manner in which calls areprocessed can be implemented by changing the data in the data records.An additional advantage is that call processing can be customized for aspecific user or customer. Because the particular DEF record chosen forcall processing (initially) is selected based on call data, changes tothe DEF record selected can result in changes to the way the call isprocessed. Thus, one DEF record may indicate that a certain script is tobe played or that certain information is to be validated or that keysequences input by a user are to be responded to in a certain way. OtherDEF records may indicate other operations to perform or other ways torespond to user input when processing a call. Thus, it is the DEF recordthat defines how a call is to be handled.

Changes to the data in databases of the call processing system can bemade using a distribution system. For redundancy, certain databases aremirrored to provide a high degree of fault tolerance. To maintainintegrity of all databases, changes to any of the master databases mustbe made to all affected slave databases as well. To accomplish this, thecall processing system uses a distribution system, which captures thechanges made to tables in the master database and updates the affectedslave databases with these changes.

A trigger captures changes made to the master database and stores thesechanges in a delta table. A distribution server retrieves these changesand creates a net message table indicating the changes to be made and anaudit table indicating the slave databases affected by each change. Thedistribution system then updates the affected slave databases using themessages in the net message table.

One advantage of the distribution system is that triggers are used tosimplify the operations performed and to ensure the integrity of slavedatabases throughout the entire call processing system. A trigger iscalled each time a change is made to the master database. Thedistribution system is transparent to the application making changes tomaster database. The application making the changes to master databaseis not involved with the process of modifying the slave databases withthe same changes.

The use of a delta table is another advantage of the distributionsystem. Through the use of the delta table, only the data that is neededto update slave databases is provided to the distributor. The changesare then read from the delta table to be applied to the appropriateslave databases. This method allows the application performing thechange to the master database to continue performing any otheractivities required, while the distribution system makes the changes tothe appropriate slave databases.

Still another advantage of the distribution system is that it does notrequire that updates to all databases be simultaneous. This featureallows slave databases to be updated at their own pace. If any one ofthe affected slave databases is down, the changes are queued until thatdatabase is ready to receive them.

The call processing system can also provide real-time monitoring,detection, and prevention of fraudulent uses of the system. Thisfunctionality is provided by a fraud system. The fraud system handlesand detects fraud in both calls that successfully complete (go through),and calls that fail. The fraud system is an integrated system thatmonitors manual operator consoles, automated VRU consoles, as well asthe NCP and the billing system. Specific fraud consoles are provided tofraud administrators assigned to the task of fraud detection andprevention. These individuals can monitor the operation of any call inthe system in real time and can take any necessary actions for frauddetection and prevention. Automatic database storage of critical dataassociated with detection and prevention is provided. Alarm levels canbe set so that when data exceeds specified limits, an alarm is triggeredto a fraud administrator. The architecture of the system allows forspecific fraud scenarios to be detected and prevented. The presentinvention is robust enough to accommodate additional fraud scenarios inthe future.

Further features and advantages of the present invention, as well as thestructure and operation of various embodiments of the present invention,are described in detail below with reference to the accompanyingdrawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention is described herein with reference to theaccompanying drawings. In the drawings, like reference numbers indicateidentical or functionally similar elements. Additionally, the firstthree characters of each reference number identifies the drawing inwhich the reference number first appears as per the table attached tothe document as Appendix 1.

FIG. 1 is a high-level block diagram illustrating the architecture of aconventional telephone switching configuration.

FIG. 2 is a high-level operational flow diagram illustrating the mannerin which a conventional long-distance carrier provides long-distancetelephone services to a long-distance carrier customer.

FIG. 3 is a high-level block diagram illustrating a call processingsystem according to the present invention.

FIG. 4 is a high-level block diagram illustrating the interface ofcustomers and users to the call processing system according to oneembodiment of the present invention.

FIG. 5 is a high-level operational flow diagram illustrating the stepsinvolved in placing and completing a call using the call processingsystem according to one embodiment of the present invention.

FIG. 6, which comprises FIGS. 7 and 8, is a high-level operational flowdiagram illustrating the process that the call processing system uses toprocess operator-assisted calls according to one embodiment of theinvention.

FIG. 7 is a high-level operational flow diagram illustrating the processthat the call the processing system uses to process operator-assistedcalls according to one embodiment of the invention.

FIG. 8, which is a continuation of FIG. 7, illustrates a high-leveloperational flow of the process that the call processing system uses toprocess operator-assisted calls according to one embodiment of theinvention.

FIG. 9 is a high-level block diagram illustrating a representativearchitecture of one embodiment of the call processing system accordingto the present invention.

FIG. 10 is a block diagram illustrating a high-level architecture of thenetwork control processor according to one embodiment of the invention.

FIG. 11, which comprises FIGS. 12 and 13, is an operational flow diagramillustrating the steps followed by the network call processor inhandling a call requiring operator assistance according to oneembodiment of the invention.

FIG. 12 is an operational flow diagram illustrating the steps followedby the network call processor in handling a call requiring operatorassistance according to one embodiment of the invention.

FIG. 13, which is a continuation of FIG. 12, is an operational flowdiagram that illustrates the steps involved in handling the callrequiring operator assistance according to one embodiment of theinvention.

FIG. 14 is a data flow diagram illustrating the data flows that occurwithin and external to the network control processor when a callrequiring operator assistance is received according to one embodiment ofthe invention.

FIG. 15, which comprises FIGS. 16 and 17, is a data flow diagramillustrating the data flows that occur within and external to thenetwork control processor when a calling card, credit card, or debitcard call is completed according to one embodiment.

FIG. 16 is a data flow diagram illustrating the data flows that occurwithin and external to the network control processor when a callingcard, credit card, or debit card call is completed according to oneembodiment.

FIG. 17, which is a continuation of FIG. 16, illustrates the data flowsthat occur within and external to the network control processor when acalling card, credit card, or debit card call is completed according toone embodiment.

FIG. 18 is an operational flow diagram illustrating the operation ofcompleting a calling card, debit card, or credit card call according toone embodiment.

FIG. 19, which comprises FIGS. 20 and 21, is a dataflow diagramillustrating the dataflows that occur within and external to the networkcontrol processor when a collect call is completed.

FIG. 20 is a dataflow diagram illustrating the dataflows that occurwithin and external to the network control processor when a collect callis completed according to one embodiment of the invention.

FIG. 21, which is a continuation of FIG. 20, illustrates the dataflowsthat occur within and external to the network control processor when acollect call is completed according to one embodiment of the invention.

FIG. 22 is an operational flow diagram illustrating the operation ofcompleting a collect call according to one embodiment of the invention.

FIG. 23 is a high-level operational flow diagram illustrating the mannerby which call processing system provides language-specific operatorservices according to one embodiment of the invention.

FIG. 24 is a block diagram illustrating a call route distributor and itsinterfaces according to one embodiment of the invention.

FIG. 25 is a high-level block diagram illustrating primary and secondarycall route distributors and their interface to operator consolesaccording to one embodiment of the invention.

FIG. 26 is an operational flow diagram illustrating the process by whichcall route distributors determine which call route distributor isprimary, and the process by which operator consoles log on to theprimary call route distributor according to one embodiment of theinvention.

FIG. 27 is a high-level operational flow diagram illustrating whatoccurs when a call is received from a subscriber by the call processingsystem according to one embodiment of the invention.

FIG. 28 is a block diagram illustrating an example architecture of acentral message processor of the NCP and its interfaces to externalprocesses according to one embodiment of the invention.

FIG. 29 is a message flow diagram illustrating the flow of messagesbetween the central message processor and the other processes within thenetwork control processor according to one embodiment of the invention.

FIG. 30, which comprises FIGS. 31 and 32, is an operational flow diagramillustrating the operations performed by the central message processorin sending and receiving the messages illustrated in FIG. 29 accordingto one embodiment of the invention.

FIG. 31 is an operational flow diagram illustrating the operationsperformed by the central message processor in sending and receiving themessages illustrated in FIG. 29 according to one embodiment of theinvention.

FIG. 32, which is a continuation of FIG. 31, is an operational flowdiagram illustrating the operations performed by the central messageprocessor in sending and receiving the messages illustrated in FIG. 29according to one embodiment of the invention.

FIG. 33 is a diagram illustrating an example action record according toone embodiment of the invention.

FIG. 34, which comprises FIGS. 35 and 36, is an operational flow diagramillustrating the manner by which a message manager of the centralmessage processor uses action records to process a network requestaccording to one embodiment of the invention.

FIG. 35 is an operational flow diagram illustrating the manner by whichthe message manager of the central message processor uses action recordsto process a network request according to one embodiment of theinvention.

FIG. 36, which is a continuations of FIG. 35, is an operational flowdiagram illustrating the manner by which the message manager of thecentral message processor uses action records to process a networkrequest according to one embodiment of the invention.

FIG. 37 is an operational flow diagram illustrating the manner in whichcalls that do not require operator assistance are completed according toone embodiment of the invention.

FIG. 38, which comprises FIGS. 39 and 40, is an operational flow diagramillustrating the manner in which the central message processor releasesa call from an operator console according to one embodiment of theinvention.

FIG. 39 is an operational flow diagram illustrating the manner in whichthe central message processor releases a call from an operator consoleaccording to one embodiment of the invention.

FIG. 40, which is a continuation of FIG. 39, is an operational flowdiagram illustrating the manner in which the central message processorreleases a call from an operator console according to one embodiment ofthe invention.

FIG. 41, which comprises FIGS. 42 through 45 is an operational flowdiagram illustrating the process of releasing a call when a userterminates the call according to one embodiment of the invention.

FIG. 42 is an operational flow diagram illustrating the process ofreleasing a call when a user terminates the call according to oneembodiment of the invention.

FIG. 43, which is a continuation of FIG. 42, is an operational flowdiagram illustrating the process of releasing a call when a userterminates the call according to one embodiment of the invention.

FIG. 44, which is a continuation of FIG. 42, is an operational flowdiagram illustrating the process of releasing a call when a userterminates the call according to one embodiment of the invention.

FIG. 45, which is a continuation of FIGS. 43 and 44, is an operationalflow diagram illustrating the process of releasing a call when a userterminates the call according to one embodiment of the invention.

FIG. 46 is an operational flow diagram illustrating the manner in whichthe central message processor sets up a call originated from an operatorconsole according to one embodiment of the invention.

FIG. 47 is an operational flow diagram illustrating what occurs when anoperator console originates a call according to one embodiment of theinvention.

FIG. 48 is an operational flow diagram illustrating the completion of acall from an operator console according to one embodiment of theinvention.

FIG. 49 is an operational flow diagram illustrating a call transfer froman operator console according to one embodiment of the invention.

FIG. 50 is a block diagram illustrating the components that communicatewith one another during billing server operations.

FIG. 51 is a data flow diagram illustrating messages sent during billingserver operation according to one embodiment of the invention.

FIG. 52 is an operational flow diagram illustrating the process followedby the billing server when a call is received by the call processingsystem according to one embodiment of the invention.

FIG. 53 is a block diagram illustrating the three major components ofthe billing server according to one embodiment of the invention.

FIG. 54 is a block diagram illustrating the architecture of the billingserver according to one embodiment of the invention.

FIG. 55 illustrates the structure of a callhandle according to oneembodiment of the invention.

FIG. 56 is a diagram illustrating the structure of a billing informationrecord according to one embodiment of the invention.

FIG. 57, which comprises FIGS. 58 and 59, is an operational flow diagramillustrating the steps followed by a main root procedure kernel duringstart-up, operation and cleanup of the billing server according to oneembodiment of the invention.

FIG. 58 is an operational flow diagram illustrating the steps followedby a main root procedure kernel during start-up, operation and cleanupof the billing server according to one embodiment of the invention.

FIG. 59, which is a continuation of FIG. 58, is an operational flowdiagram illustrating the steps followed by a main root procedure kernelduring start-up, operation and cleanup of the billing server accordingto one embodiment of the invention.

FIG. 60 is a data flow diagram illustrating data flow between a receiveprocedure kernel, the other procedure kernels, billing server files, andbilling server memory of the billing server according to one embodimentof the invention.

FIG. 61 is an operational flow diagram illustrating the manner in whicha receive process responds to a get callhandle request message from thecentral message processor according to one embodiment of the invention.

FIG. 62 is an operational flow diagram illustrating what occurs when thereceive procedure kernel receives a start billing message in step EK110of FIG. 61.

FIG. 63 is an operational flow diagram illustrating the process thatoccurs when a send BIR procedure kernel receives the stop timing messagesent in step EK114 of FIG. 61.

FIG. 64 is an operational flow diagram illustrating the process ofsending the BIR to the billing system according to one embodiment of theinvention.

FIG. 65 is an operational flow diagram illustrating the process thatoccurs in response to the receipt of a BIR check message according toone embodiment of the invention.

FIG. 66 is an operational flow diagram illustrating the process by whichthe billing server tracks the start time of a call according to oneembodiment of the invention.

FIG. 67 is an operational flow diagram illustrating the process by whichthe billing server updates the BIR for the call with the terminationtime of the call according to one embodiment of the invention.

FIG. 68 is an operational flow diagram illustrating the process by whichthe billing server sends a BIR to the billing system according to oneembodiment of the invention.

FIG. 69 is a block diagram illustrating a database server of the callprocessing system according to one embodiment of the invention.

FIG. 70 is an operational flow diagram illustrating a process by whichthe database server is created according to one embodiment of theinvention.

FIG. 71, which comprises FIGS. 72 and 73, is an operational flow diagramillustrating the steps performed by the database server when a networkmessage is received according to one embodiment of the invention.

FIG. 72 is an operational flow diagram illustrating the steps performedby the database server when a network message is received according toone embodiment of the invention.

FIG. 73, which is a continuation of FIG. 72, is an operational flowdiagram illustrating the steps performed by the database server when anetwork message is received according to one embodiment of theinvention.

FIG. 74 is a data flow diagram illustrating the messages that flow toand from the database server when processing a network message accordingto one embodiment of the invention.

FIG. 75 is a data flow diagram illustrating the messages involved indeleting a service in the database server according to one embodiment ofthe invention.

FIG. 76 is an operational flow diagram illustrating the steps involvedwith deleting a service in the database server according to oneembodiment of the invention.

FIG. 77 is an operational flow diagram illustrating the steps involvedin shutting down the database server according to one embodiment of theinvention.

FIG. 78A is a diagram illustrating the configuration of a call ID recordin call ID database according to one embodiment of the invention.

FIG. 78B is a diagram illustrating the structure of a search key used tosearch for a root record and further illustrating a default recordhaving default data according to one embodiment of the invention.

FIG. 79 is a block diagram illustrating a high-level concept of how adata search is performed in response to a get call ID message accordingto one embodiment of the invention.

FIG. 80 is a high-level operational flow diagram illustrating thehigh-level concept of how a data search in response to a get call IDmessage is performed according to one embodiment of the invention.

FIG. 81 is a high-level operational flow diagram illustrating the basicsteps performed when database server receives a get call ID request fromthe central message processor according to one embodiment of theinvention.

FIG. 82 is a detailed operational flow diagram illustrating the mannerin which database server searches for the appropriate data record inresponse to a get call ID message according to one embodiment of theinvention.

FIG. 83 is a detailed operational flow diagram illustrating the mannerin which the database server finds a root record when performing thesearch according to one embodiment of the invention.

FIG. 84 is a diagram illustrating a translation record according to oneembodiment of the invention.

FIG. 85 is an operational flow diagram illustrating the process ofperforming a number translation look-up according to one embodiment ofthe invention.

FIG. 86 is a data flow diagram illustrating the data flow that occurswhen a number translation is requested according to one embodiment ofthe invention.

FIG. 87 is a high-level block diagram illustrating an interface betweenoperator consoles and the validation system according to one embodimentof the invention.

FIG. 88 is a block diagram illustrating the validation systemillustrated in FIG. 87 in more detail.

FIG. 89 is a high-level operational flow diagram illustrating theoperation of the validation system according to one embodiment of theinvention.

FIG. 90, which comprises FIGS. 91 and 92, is an operational flow diagramillustrating the steps involved in executing the p-code in thevalidation system according to one embodiment of the invention.

FIG. 91 is an operational flow diagram illustrating the steps involvedin executing the p-code in the validation system according to oneembodiment of the invention.

FIG. 92, which is a continuation of FIG. 91, is an operational flowdiagram illustrating the steps involved in executing the p-code in thevalidation system according to one embodiment of the invention.

FIG. 93 is a high-level block diagram illustrating a distribution systemaccording to one embodiment of the invention.

FIG. 94 is a high-level operational flow diagram illustrating the mannerin which the distribution system updates slave databases to reflectupdates to a primary database according to one embodiment of theinvention.

FIG. 95 is a block diagram illustrating a representative architecture ofa distributor and a master database in one embodiment of thedistribution system according to one embodiment of the invention.

FIG. 96 is an operational flow diagram illustrating the manner in whichchanges are made to the master database according to one embodiment ofthe invention.

FIG. 97 is an operational flow diagram illustrating the manner in whichthe distributor receives events from the master database and updatesdistribution tables according to one embodiment of the invention.

FIG. 98 is a diagram illustrating a representative configuration for anaudit table according to one embodiment of the invention.

FIG. 99 is an operational flow diagram illustrating the manner in whicha distribution server updates distribution tables according to oneembodiment of the invention.

FIG. 100 is an operational flow diagram illustrating the manner in whichslave databases are updated according to one embodiment of theinvention.

FIG. 101 is a block diagram illustrating a representative architectureused to update the p-code database according to one embodiment of theinvention.

FIG. 102 is an operational flow chart illustrating the manner in whichthe p-code database is updated according to one embodiment of theinvention.

FIG. 103 is a block diagram illustrating a distribution system to updatethe p-code database according to one embodiment of the invention.

FIG. 104 is a high-level block diagram illustrating the billing systemand its interfaces to the operator consoles and the network controlprocessor according to one embodiment of the invention.

FIG. 105 is a high-level operational flow diagram illustrating theprocess of rating a call in the rate quote scenario according to oneembodiment of the invention.

FIG. 106 is a high-level operational flow diagram illustrating the stepsinvolved with rating a call in response to a billing information recordaccording to one embodiment of the invention.

FIG. 107 is a block diagram illustrating the billing system withadditional functionality according to one embodiment of the invention.

FIG. 108 is an operational flow diagram illustrating the manner in whichthe billing system prices a call when a BIR is received according to oneembodiment of the invention.

FIG. 109 is an operational flow diagram illustrating the manner in whichthe rating system determines the wholesale cost of the call according toone embodiment of the invention.

FIG. 110 is a diagram illustrating the rates for calls stored in a ratefile according to one embodiment of the invention.

FIG. 111 is an operational flow diagram illustrating the manner in whichthe retail cost of a call is determined according to one embodiment ofthe invention.

FIG. 112 is a diagram illustrating times for which wholesale and retailbills can be computed.

FIG. 113 is an operational flow diagram illustrating the steps involvedin performing real-time billing for a debit card call according to oneembodiment of the invention.

FIG. 114 is a data flow diagram illustrating the data flow that occursduring real-time billing of a call placed using a debit card accordingto one embodiment of the invention.

FIG. 115 is an operational flow diagram illustrating the steps involvedwith determining the remaining dollar amount on the debit card accordingto one embodiment of the invention.

FIG. 116 is an operational flow diagram illustrating the steps involvedwith retrieving debit batch information according to one embodiment ofthe invention.

FIG. 117 is an operational flow diagram illustrating the steps taken byan operator console according to one embodiment of the invention when adollar amount remaining on a debit card is insufficient to complete adebit card call.

FIG. 118 is a data flow diagram illustrating the messages sent incompleting and terminating a long-distance call placed using a debitcard according to one embodiment of the invention.

FIG. 119, which comprises FIGS. 120 and 121, is an operational flowdiagram illustrating the steps involved in completing and terminating adebit card call using real-time billing according to one embodiment ofthe invention.

FIG. 120 is an operational flow diagram illustrating the steps involvedin completing and terminating a debit card call using real-time billingaccording to one embodiment of the invention.

FIG. 121, which is a continuation of FIG. 120, is an operational flowdiagram illustrating the steps involved in completing and terminating adebit card call using real-time billing according to one embodiment ofthe invention.

FIG. 122 is a block diagram illustrating the data flow during call setupaccording to one embodiment of the invention.

FIG. 123, which comprises FIGS. 124 and 125, is an operational flowdiagram illustrating the process followed during call setup according toone embodiment of the invention.

FIG. 124 is an operational flow diagram illustrating the processfollowed during call setup according to one embodiment of the invention.

FIG. 125, which is a continuation of FIG. 124, is an operational flowdiagram illustrating the process followed during call setup according toone embodiment of the invention.

FIG. 126 is a data flow diagram illustrating the messages sent incompleting a call according to one embodiment of the invention.

FIG. 127 is an operational flow diagram illustrating the steps followedin completing a call according to one embodiment of the invention.

FIG. 128 is a data flow diagram illustrating the data flow that occurswhen a call is terminated according to one embodiment of the invention.

FIG. 129, which comprises FIGS. 130 and 131, is an operational flowdiagram illustrating the process by which a call is terminated accordingto one embodiment of the invention.

FIG. 130 is an operational flow diagram illustrating the process bywhich a call is terminated according to one embodiment of the invention.

FIG. 131, which is a continuation of FIG. 130, is an operational flowdiagram illustrating the process by which a call is terminated accordingto one embodiment of the invention.

FIG. 132 is a high-level block diagram illustrating the use of a clientinterface (CLIF) according to one embodiment of the invention.

FIG. 133 is a diagram illustrating layers within a client and a serverto handle communications an Ethernet LAN according to one embodiment ofthe invention.

FIG. 134 is a diagram illustrating the configuration of a packet sentacross a LAN according to one embodiment of the invention.

FIG. 135 is a data flow diagram illustrating transmission of messagesusing a CLIF according to one embodiment of the invention.

FIG. 136 is a high-level operational flow diagram illustrating theprocess followed by a CLIF in handling messages according to oneembodiment of the invention.

FIG. 137 is a block diagram illustrating files and tables used by a CLIFaccording to one embodiment of the invention.

FIG. 138 is a block diagram illustrating a request being sent SB102 anda response received by a CLIF according to one embodiment of theinvention.

FIG. 139, which comprises FIGS. 140 and 141, is an operational flowdiagram illustrating the process by which a CLIF sends and receivesmessages according to one embodiment of the invention.

FIG. 140 is an operational flow diagram illustrating the process bywhich a CLIF sends and receives messages according to one embodiment ofthe invention.

FIG. 141, which is a continuation of FIG. 140, is an operational flowdiagram illustrating the process by which a CLIF sends and receivesmessages according to one embodiment of the invention.

FIG. 142 is an operational flow diagram illustrating what occurs when aresponse is received by a CLIF according to one embodiment of theinvention.

FIG. 143 is an operational flow diagram illustrating the process thatoccurs when a CLIF receives a request according to one embodiment of theinvention.

FIG. 144 is a data flow diagram illustrating messages sent between arequesting application and a responding application using CLIFsaccording to one embodiment of the invention.

FIG. 145 is a detailed operational flow diagram illustrating the processby which a CLIF detects the presence of a duplicate request and preventsthe responding application from having to respond more than onceaccording to one embodiment of the invention.

FIG. 146 is a data flow diagram illustrating the manner in which oneCLIF can increase the time interval between retries of a second CLIFaccording to one embodiment of the invention.

FIG. 147 is a detailed operational flow diagram illustrating the processby which a first CLIF increases the time interval between retries of asecond CLIF according to one embodiment of the invention.

FIG. 148 is a data flow diagram illustrating the manner in which a CLIFsends messages to an application with a highest priority according toone embodiment of the invention.

FIG. 149 is an operational flow diagram illustrating the process bywhich a CLIF sends messages to an application having the highestpriority according to one embodiment of the invention.

FIG. 150 is a high level block diagram illustrating the processes andDEF records used by a call processing system to process calls accordingto one embodiment of the invention.

FIG. 151 is an operational flow diagram illustrating the manner in whicha call processing system uses DEF records and processes to handle callsaccording to one embodiment of the invention.

FIG. 152 is a diagram illustrating the structure of a DEF recordaccording to one embodiment according to one embodiment of theinvention.

FIG. 153 is a diagram illustrating how different levels of DEF recordscan be used to optimize data storage according to one embodiment of theinvention.

FIG. 154, which comprises FIGS. 155, 156, 157, and 158, is anoperational flow diagram illustrating the high level operator servicesscenario according to one embodiment of the invention.

FIG. 155 is an operational flow diagram illustrating the high leveloperator services scenario according to one embodiment of the invention.

FIG. 156, which is a continuation of FIG. 155, is an operational flowdiagram illustrating the high level operator services scenario accordingto one embodiment of the invention.

FIG. 157, which is a continuation of FIGS. 155 and 156 is an operationalflow diagram illustrating the high level operator services scenarioaccording to one embodiment of the invention.

FIG. 158, which is a continuation of FIGS. 156 and 157, is anoperational flow diagram illustrating the high level operator servicesscenario according to one embodiment of the invention.

FIG. 159, which comprises FIGS. 160 and 161, is an operational flowdiagram illustrating the manner in which the call processing systemprocesses an enhanced services card call according to one embodiment ofthe invention.

FIG. 160 is an operational flow diagram illustrating the manner in whichthe call processing system processes an enhanced services card callaccording to one embodiment of the invention.

FIG. 161, which is a continuation of FIG. 160, is an operational flowdiagram illustrating the manner in which the call processing systemprocesses an enhanced services card call according to one embodiment ofthe invention.

FIG. 162, which comprises FIGS. 163, 164, 165, and 166, is anoperational flow diagram illustrating a debit card calling scenarioaccording to one embodiment of the invention.

FIG. 163 is an operational flow diagram illustrating a debit cardcalling scenario according to one embodiment of the invention.

FIG. 164, which is a continuation of FIG. 163, is an operational flowdiagram illustrating a debit card calling scenario according to oneembodiment of the invention.

FIG. 165, which is a continuation of FIG. 163, is an operational flowdiagram illustrating a debit card calling scenario according to oneembodiment of the invention.

FIG. 166, which is a continuation of FIGS. 164 and 165, is anoperational flow diagram illustrating a debit card calling scenarioaccording to one embodiment of the invention.

FIG. 167, which comprises FIGS. 168, 169, 170, and 171, is anoperational flow diagram illustrating the manner in which a subscriberre-routes an 800 number according to one embodiment of the invention.

FIG. 168 is an operational flow diagram illustrating the manner in whicha subscriber re-routes an 800 number according to one embodiment of theinvention.

FIG. 169, which is a continuation of FIG. 168, is an operational flowdiagram illustrating the manner in which a subscriber re-routes an 800number according to one embodiment of the invention.

FIG. 170, which is a continuation of FIG. 168, is an operational flowdiagram illustrating the manner in which a subscriber re-routes an 800number according to one embodiment of the invention.

FIG. 171, which is a continuation of FIGS. 169 and 170, is anoperational flow diagram illustrating the manner in which a subscriberre-routes an 800 number according to one embodiment of the invention.

FIG. 172, is an operational flow diagram illustrating the placement of adirect-dial long-distance call.

FIG. 173 is a high-level architectural block diagram showing therelationship and interfaces of the fraud detection and prevention systemwith regard to the other relevant systems (components) and showing thecommunications pathways between the same.

FIG. 174 is a data flow diagram showing the flow of the importantcommands (messages) to and from the fraud detection and the preventionsystem and the other systems (components) of the present invention.

FIG. 175 is a high-level block diagram illustrating a representativearchitecture of the fraud system according to one embodiment of theinvention.

FIG. 176, which comprises a FIGS. 177 and 178, is a high-leveloperational flow diagram illustrating the steps of a generalized versionof the fraud detection and/or scenario according to one embodiment ofthe invention.

FIG. 179, which comprises FIGS. 179A and 179B, is a diagram illustratinga failed billing number usage record and a billing number usage recordaccording to one embodiment of the invention.

FIG. 180 is a high-level operational flow diagram illustrating themanner in which four fraud scenarios for a failed call, as shown inFIGS. 181, 182, and 183, can be detected and/or prevented according toone embodiment of the invention.

FIG. 181 is an operational flow diagram illustrating the manner in whicha failed call attempt fraud scenario is detected and/or preventedaccording to one embodiment of the invention.

FIG. 182 is an operational flow diagram illustrating the manner in whicha hot originating and/or terminating ANI fraud scenario is detectedand/or prevented according to one embodiment of the invention.

FIG. 183 is an operational flow diagram illustrating the manner in whicha high usage ANI and/or high usage terminating number fraud scenario isdetected and/or prevented according to one embodiment of the invention.

FIG. 184 is a high-level operational flow diagram illustrating themanner in which eight fraud scenarios for a completed call, as shown inFIGS. 185-190, can be detected and/or prevented according to oneembodiment of the invention.

FIG. 185, is an operational flow diagram illustrating the manner inwhich a hot originating ANI fraud scenario and a hot terminating fraudscenario are detected and/or prevented according to one embodiment ofthe invention.

FIG. 186 is an operational flow diagram illustrating the manner in whicha high usage billing number fraud scenario and high 800 usage fraudyscenario is detected and/or prevented according to one embodiment ofthe invention.

FIG. 187, is an operational flow diagram illustrating the manner inwhich a simulataneous calls on a billing number fraud scenario isdetected and/or prevented according to one embodiment of the invention.

FIG. 188 is an operational flow diagram illustrating the manner in whichan anomalous calls fraud scenario is detected and/or prevented accordingto one embodiment of the invention.

FIG. 189 is an operational flow diagram illustrating the manner in whichan international fraud scenario is detected and/or prevented accordingto one embodiment of the invention.

FIG. 190 is an operational flow diagram illustrating the manner in whicha reorigination fraud scenario is detected and/or prevented according toone embodiment of the invention.

FIG. 191 is an operational flow diagram illustrating the manner in whicha intermediate-long duration call fraud scenario is detected and/orprevented according to one embodiment of the invention.

FIG. 192 is an operational flow diagram illustrating the manner in whicha call cost retail fraud scenario and call cost wholesale fraud scenarioare detected and/or prevented according to one embodiment of theinvention.

FIG. 193 is a data flow diagram illustrating the data flow between thefraud system, the validation system, and the billing server used for thesimultaneous calls on a billing number fraud scenario according to oneembodiment of the invention.

FIG. 194 is an operational flow diagram illustrating the manner in whichthe validation system interacts with the fraud system to detect and/orprevent fraud according to the simultaneous calls on a billing numberfraud scenario.

FIG. 195 is an operational flow diagram illustrating the manner in whichthe validation system interacts with the billing server to detect and/orprevent fraud according to the simultaneous calls on a billing numberfraud scenario.

FIG. 196 illustrates a fraud system screen that displays alarmthresholds detail information for compeleted calls according to oneembodiment of the invention.

FIG. 196a illustrates a fraud system screen that displays alarmthresholds detail information for failed calls according to oneembodiment of the invention.

FIG. 197 illustrates a fraud system screen that displays billing numberdetail information according to one embodiment of the invention.

FIG. 198 illustrates a fraud system screen that displays BIR informationaccording to one embodiment of the invention.

FIG. 199 illustrates a fraud system screen that displays alarm searchinformation according to one embodiment of the invention.

FIG. 200 illustrates a fraud system screen that displays BNU alarmstatus information with an open window showing fraud short BIRinformation according to one embodiment of the invention.

FIG. 201 illustrates a fraud system screen that displays alarm detailinformation according to one embodiment of the invention.

FIG. 202 illustrates a fraud system screen that displays short BIRinformation according to one embodiment of the invention.

FIG. 203 illustrates a fraud system screen that displays billing numberusage and failed billed number alarms according to one embodiment of theinvention.

FIG. 204 is an operational flow diagram illustrating the processinvolved with updating the accounting records according to oneembodiment of the invention.

FIG. 205 illustrates an example implementation of an operator displayscreen according to one embodiment of the invention according to oneembodiment of the invention.

FIG. 206 illustrates an example of the operator display screenillustrated in FIG. 205 with call information displayed thereonaccording to one embodiment of the invention.

FIG. 207 is a high-level block diagram illustrating a translation systemaccording to one embodiment of the invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Table of Contents

1.0 High-Level Overview of the Invention

1.1 The Present Invention: A Simple and Elegant Solution

2.0 Network Control Processor (NCP)

2.0.1 Network Control Processor

2.0.2 Call Setup Using the Network Control Processor

2.0.3 Call Completion for a Calling Card, Credit Card, or Debit CardCall

2.0.4 Call Completion for a Collect Call

2.0.5 Specific Language Operator Handling

2.1 Network Control Processor Call Route Distributor (CRD)

2.1.1 CRD Introduction and CRD Redundancy

2.2 Central Message Processor (CMP)

2.2.1 CMP Introduction and High-Level Description

2.2.2 CMP Detailed Description

2.2.3 Action Records

2.2.4 Number Translation or Direct-Dial Long-Distance call

2.2.5 Call Release From an Operator Console AB108

2.2.6 Call Release From A Switch

2.2.7 Call Set-up For an Operator-Console-Originated Call

2.2.8 Call Completion From an Operator Console

2.2.9 Call Transfer From an Operator Console

2.3 Billing Server

2.3.1 Billing Server Introduction

2.3.2 Billing Server Architecture

2.3.2.1 Billing Server Files

2.3.2.1.1 Callhandle File

2.3.2.1.2 BIR File

2.3.2.1.3 BIR Stack File

2.3.2.1.4 Fraud Queue File

2.3.2.2 Procedures

2.3.2.2.1 Main Root Procedure Kernel

2.3.2.2.2 Client Interface (CLIF) Procedure

2.3.2.2.3 Update Mirror Procedure

2.3.2.2.4 Receive Procedure

2.3.2.2.5 Send BIR Procedure

2.3.2.2.5 BIR Stack Procedure

2.3.3.3 Billing Server Tables

2.3.3.3.1 Callhandle Hash Table

2.3.3.3.2 Console Tables

2.3.3.3.3 Debit Tables

2.3.3.3.4 Call Tracking Table

2.3.4 Redundancy

2.3.5 Timing of Calls

2.4 Database Server(DBS)

2.4.1 Database Server Introduction

2.4.2 Deleting a Database Service

2.4.3 Searches Using Database Server BA104

2.4.3.1 Call ID Look-up Using Database Server

2.4.3.2 Number Translation Look-up Using Database Server

2.4.4 Number Translation

3.0 Validation System

4.0 Distribution System

5.0 Real-Time Reconfiguration

6.0 Billing System

6.1 Introduction to Billing System

6.2 Wholesale and Retail Timing

6.3 Billing System Methodologies

6.4 Operational and Data Flow Description of Real-Time Billing With aDebit Card

7.0 Fraud Detection and Prevention

7.1 Overview of the Fraud Problem in the Telephone Industry

7.2 Specific Fraudulent Method Scenarios

7.3 Representative Fraud Detection and Prevention System and Method

7.4 Specific Fraud Detection and Prevention Capabilities

7.4.1 Failed Call

7.4.1.1 Failed Call Attempt

7.4.1.2 Hot Originating ANI

7.4.1.3 Hot Terminating ANI

7.4.1.4 High Usage On Billing Number

7.4.2 A Completed Call

7.4.2.1 Hot Originating ANI

7.4.2.2 Hot Terminating ANI

7.4.2.3 High Usage Billing Number

7.4.2.4 800 Calls With High Usage

7.4.2.5 Simultaneous Calls on a Billing Number

7.4.2.6 Anomalous Calls on a Billing Number

7.4.2.7 International Incoming or Outgoing Calls

7.4.2.8 Reoriginations

7.4.2.9 Long Duration Calls

7.4.2.10 Call Cost (Wholesale and Retail)

7.4.3 Simultaneous Uses of a Billing Number

7.5 Graphical User Interface For Fraud Console

7.5.1 Thresholds

7.5.2 Search

7.5.3 Failed Billed Number Screens

7.5.4 To View An Alarm

7.5.5 Exiting The System

7.6 Reports

7.6.1 Excessive Usage

7.6.2 Excessive Duration

8.0 Gateways

9.0 Client Server Interface (CLIF)

10.0 DEF

12.0 High-Level Operational Scenarios

12.1 Operator Services

12.2 Enhanced Services Card Call

12.3 Debit Card Calls

12.4 800 Number Forwarding

12.5 Direct-Dial Long-Distance calling

13.0 Operator Console Display

14.0 Conclusion

1.0 HIGH-LEVEL OVERVIEW OF THE INVENTION

As discussed in the Background Section, telecommunications carriers arelimited in the flexibility with which their services can be providedbecause conventional switching systems do not address the need forintroducing flexible control into the telephone network. An examinationof a conventional telephone switching system and how it operatesillustrates some of the reasons for this situation.

An example of a conventional telephone switching configuration isillustrated in FIG. 1. FIG. 1 is a high-level block diagram illustratingthe architecture of a conventional telephone switching configuration.Referring now to FIG. 1, the configuration includes a matrix switchAA102 and an operator console AA108. A typical subscriber AA114 to along-distance carrier AA112 may be a business, another carrier, or anindividual user AA106. Customer AA110 may, for example, be a business orit may be a carrier that is procuring enhanced services from acompetitor long-distance carrier AA112. Customer AA110 may have its owncustomer switch AA104 for routing calls between outside trunks andinside lines or instruments.

Users AA106 (for example, humans talking on the telephone) placelong-distance calls using long-distance carrier AA112. The user AA106who places the call (calling party) is termed an originating userAA106A. The user AA106 to whom the call is placed (called party) istermed a terminating user AA106B.

Originating user AA106A may place the call directly with long-distancecarrier AA112 where originating user AA106A is a customer oflong-distance carrier AA112. Where originating user AA106A subscribes toanother carrier that is a customer AA110 of long-distance carrier AA112,the call is routed through customer AA110. Where originating user AA106Ais an end-user at a business that is a customer AA110 of long-distancecarrier AA112 and that has its own switch AA104, that originating user'scall also gets routed through customer switch AA104. In the latter twocases, originating user AA106A is deemed a "client" of customer AA110.

Matrix switch AA102 is provided as a switch to route calls between usersAA106. A call is routed from originating user AA106A to terminating userAA106B. Matrix switch AA102 typically can route thousands of telephonecalls simultaneously. An example of matrix switch AA102 is thecommercially-available switch model DMS 250, manufactured by NorthernTelecom, Inc. in Richardson, Texas, USA. "DMS" is a registered trademarkof Northern Telecom, Inc.

The manner in which long-distance carrier AA112 provides long-distancesservices is now described. FIG. 2 is a high-level operational flowdiagram illustrating the manner in which long-distance carrier AA112provides long-distance telephone services to its subscribers AA114.FIGS. 1 and 2 are now referred to in order to illustrate howlong-distance carrier AA112 provides direct-dial long-distance serviceand operator-assisted calling for users AA106. Long-distance directdialing is accomplished by dialing one plus (1+) the called number.Operator-assisted calling can be placed by dialing zero plus (0+) thecalled number or by simply dialing zero (0).

The long-distance call is originated by user AA106 and sent to matrixswitch AA102. This occurs in a step AD102. The call is sent over twochannels. These channels are an audio channel AA122 and a signallingchannel AA124. Audio channel AA122 carries the audio portion of thecall. The audio portion of the call is referred to as call audio AA142.It is over audio channel AA122 that the caller's voice (in other words,call audio AA142) can be heard. Call audio AA142 can be analog audio,digital audio, or other information transferred among users AA106 inanalog or digital form (for example, fax or modem signals).

Signalling channel AA124 is used to transmit call data AA144. Call dataAA144 includes information regarding the type of telephone call beingmade and other call handling parameters including called number,originating number (e.g., an automatic number identification, or ANI),how the call was dialed (1+, 0+, 0), and the like. Call data AA144 alsoprovides call setup parameters to matrix switch AA102.

An example of a signalling channel AA124 is the industry standard commonchannel signalling system 7 (SS7) out-of-band signalling channel. SS7 istypically a 56 kilobit (kbit) link, and is commonly transmitted over aT-1 carrier. Typically, call data AA144 is a data packet comprising30-40 bytes of data.

Matrix switch AA102 accepts call data AA144 to determine how to handleand route the call. This occurs in a step AD104.

If the call requires operator assistance (for example, a collect call),operator call data AA146 is provided to an operator console AA108. Thisoccurs in a step AD106. Typically, operator call data AA146 istransferred to operator console AA108 over a data link AA126. Operatorcall data AA146 includes information regarding the type of call andother information which matrix switch AA102 knows regarding the callsuch as originating number, how the call was dialed, and the like.

Operator console AA108 is typically a manual operator console whichrequires a human operator. The human operator answers the incoming call.The human operator then sends operator commands AA128 to matrix switchAA102 to complete the call so the operator can verify that the calledparty will accept the charges for the call. This occurs in a step AD108.

If the call was instead a direct-dial call, matrix switch AA102 usescall data AA144 provided over signalling channel AA124 to determinewhere to route the call. Matrix switch AA102 then routes the call to thedestination number. This occurs in a step AD110.

There are several problems associated with this system used by theconventional long distance carrier. First, data link AA126 over whichoperator call data AA146 are transferred is often slower than desiredand introduces unwanted delays in handling the call.

A second problem is that the human operator at operator console AA108only gets the information that matrix switch AA102 decides to send. Inother words, call handling is limited to the features and capabilitiesthat are provided by the particular matrix switch AA102 that waspurchased by the carrier.

Note, other manufacturers may provide matrix switches AA102 withdifferent features from those of the DMS 250. For example, otherswitches AA102 may have a higher data rate link AA126. However,long-distance carrier AA112 is still limited to the choices of matrixswitches AA102 that are commercially available, because it would beprohibitively expensive to design, develop and manufacture a custommatrix AA102. Thus, the functionality and capabilities that can beprovided by a long distance carrier in this conventional system arelimited to the functionality and characteristics provided by availablematrix switches AA102.

Because matrix switches AA102 are costly to develop, they are typicallydesigned to provide only those basic functions that all long-distancecarriers are likely to desire. In this manner, the development costs ofmatrix switch AA102 can be spread among numerous long-distance carriers.The cost of developing and manufacturing a unique matrix switch AA102 istoo high to provide a custom switch for a single long-distance carrier,or for only a small group of long-distance carriers. As a result,customer-unique and carrier-unique calling features and services cannotbe provided.

Additionally, most manufacturers of matrix switches AA102 are unable tomodify existing matrix switches AA102 to meet unique needs of thevarious long-distance carriers without a significant cost andsignificant time to implement.

An additional problem is that it is typically expensive to provideoperator positions to interface to matrix switch AA102. This is becauseoperator consoles can only interface to conventional matrix switchesAA102 via special operator ports. Most conventional matrix switchesprovide a limited number of such operator ports. For example, the DMS250 matrix switch AA102 provides a capability of 384 operator consoleports per switch. Thus, in this example, if more than 384 operatorconsoles AA108 are desired, at least one additional DMS 250 matrixswitch must be purchased. At a cost of approximately $2 million per DMS250 (1993 prices), the cost of additional operator positions is high.

This example serves to illustrate the underlying reason behind theproblems discussed in the Background section. Due to the high cost ofavailable matrix switches AA102, most, if not all, of the smallerlong-distance carriers cannot afford to purchase or develop customtelecommunications switching equipment. As a result, these carrierscannot have their own operator positions. Therefore, these carriers mustobtain high-end services such as operator-assisted calling throughcarriers AA112 who have such capabilities.

Additionally, for those long-distance carriers who do have matrixswitches AA102, such switches AA102 cannot be easily (orcost-effectively) reconfigured, or customized, to meet unique callprocessing needs. Thus, the flexibility required to offer a wide rangeof customer services and call handling capabilities cannot be providedto the customers and users of these call processing systems AA112.

1.1 THE PRESENT INVENTION A Simple and Elegant Solution

Recognizing that there was a long-felt need for overcoming theabove-discussed limitations of the matrix switch AA102, the inventorsset forth to develop a simple and elegant solution for providing aflexible call processing system. FIG. 3 provides a high-levelillustration of a call processing system AB102 according to the presentinvention.

As is described fully in this document, call processing system AB102provides a wide range of enhanced calling products and features tocarriers and individual users. One or more carriers can use callprocessing system AB102 to obtain carrier-unique and customer-unique,customized products and features for their customers.

Call processing system AB102 includes a network control processor (NCP)AB104 and a matrix switch AB106. Matrix switch AB106 could be the sameas matrix switch AA102 (for example, a DMS 250). Alternatively, matrixswitch AB1106 could be a simpler type of switch as will be describedbelow. NCP AB104 is a unique combination of hardware, software structureand programs designed and developed to control calls being handled bycall processing system AB102. NCP AB104 is fully described in detail inthe Network Control Processor Section of this patent document.

Call processing system AB102 can also include one or more operatorconsoles AB108. Operator console AB108 can be the same as operatorconsole AA108 used in the conventional system. However, in a preferredembodiment, operator consoles AB108 provide additional features notfound in conventional operator consoles AA108. For example, operatorconsoles AB108 provide the capability to use customized scripts topresent a carrier-unique interface. Scripts and other features ofoperator consoles AB108 are discussed throughout this document.

Types of operator consoles AB108 can include a manual operator consoleMOC AB132 and an automated voice response unit (VRU) AB134. MOC AB132provides the functionality required for a human operator to conversewith the caller. Automated VRU AB134 does not require a human operatorto handle operator-assisted calls. Automated VRU AB134 includes storedvoice or synthesized voice responses (automated scripts) to provideautomated voice instructions to the caller. For example, automated VRUAB134 may instruct a caller AA106A (originating user) to enter hercalling card number.

An additional type of operator console AB108 includes a customer serviceconsole (CSC) AB136. Customer service console AB136 performs customerservice related functions. These functions include giving credits forcall problems and answering questions of users AA106 and long-distancecarrier customers of call-processing system AB102.

When a call is originated by originating user AA106A, call audio AA142and call data AA144 for the call are routed to call processing systemAB102. A key feature of call processing system AB102 is that it enablescall audio AA142 on audio channel AA122 to be handled separately fromcall data AA144.

Originating user AA106A can be a client of a customer AA110 of callprocessing system AB102, or a direct subscriber AA114 of call processingsystem AB102. Customer AA110 can be a business or a carrier procuringenhanced services from call processing system AB102. Originating userAA106A may place a call directly to call processing system AB102 orthrough customer switch AA104. This is more clearly illustrated in FIG.4. The detail of customer AA110 and users AA106 is illustratedseparately in FIG. 4 for clarity. The term subscriber AA114 is used togenerally refer to users AA106 who are direct clients of call processingsystem AB102 and/or to customers AA110.

Calls are placed to terminating users AA106B. Terminating users AA106Bmay be subscribers AA114, clients of customers AA110, or any otherdestination to which a call is placed.

NCP AB104 receives call data AA144 via signalling channel AA124. NCPAB104 uses call data AA144 to make call handling decisions. Examples ofthese decisions include whether operator assistance is required, whethera number translation is required, how to bill the call, where the callshould be routed, and the like. Also, when the call is originated,matrix switch AB106 receives call audio AA142 from the user AA106 whoplaced the call.

NCP AB104 then sends switch control data AB122 to matrix switch AB106.Switch control data AB122 include data that controls call routing inmatrix switch AB106. For calls requiring operator assistance, NCP AB104sends operator control data AB124 to operator console AB108. Operatorcontrol data AB124 includes information on how to handle theoperator-assisted call.

Call processing system AB102 is best described in conjunction with anexample illustrating how calls are handled. FIG. 5 is an operationalflow diagram illustrating the steps involved in placing and completing acall using call processing system AB102. Referring to FIGS. 3 and 5,these steps are now described.

In a step AC102, an originating user AA106A initiates a call. In otherwords, a caller picks up the telephone and dials a telephone number of acalled party (terminating user AA106B). Examples of user AA106 caninclude a human communicating via a telephone instrument, a fax machine,or a modem. The only difference is that originating user AA106Aoriginates the telephone call, while terminating user AA106B is the userto whom the call is placed.

The call can be routed directly to NCP AB104, or it could be routed toNCP AB104 via customer switch AA104. In the latter case, customer switchAA104 forwards call audio AA142 and call data AA144 associated with thiscall to call processing system AB102. If a customer switch AA104 is notin place, call audio AA142 goes directly to matrix switch AB106 at callprocessing system AB102 and call data AA144 to NCP AB104.

In a step AC104, call processing system AB102 receives call audio AA142and call data AA144 for the call initiated in step AC102. Morespecifically, matrix switch AB106 receives call audio AA142, and NCPAB104 receives call data AA144.

In a step AC106, NCP AB104 uses call data AA144 to determine how tohandle the call. Specific details regarding the manner in which NCPAB104 makes this determination are fully described in detail in theNetwork Control Processor Section of this patent document.

In a step AC108, NCP AB104 sends switch control data AB122 to matrixswitch AB106. Switch control data AB122 coimands matrix switch AB106 toroute the call to the correct destination. For example, switch controlsignal AB122 may command matrix switch AB106 to route the call audioAA142 to customer switch AA104 at the terminating end and ultimately toterminating user AA106B.

The manner in which NCP AB104 commands matrix switch AB106 is throughsending switch control data AB122 to matrix switch AB106. The format andcontent of switch control data AB122 depends on the type of matrixswitch AB106 utilized. Note that in some cases, depending on thecustomer, a customer switch AA104 at the terminating end may not beused. In these cases, the call is routed directly to terminating userAA106B.

In a step AC110, matrix switch AB106 routes the call to terminating userAA106B as instructed by NCP AB104 in step AC108.

As a result of the functionality provided by NCP AB104, matrix switchAB106 no longer controls the call as was the case with matrix switchAA102 in the conventional system. Matrix switch AB106 now simplyfunctions as a passive switch that is reconfigured based on switchcontrol information AB122 sent by NCP AB104.

NCP AB104 receives all the call data AA144 associated with the telephonecall. There is no filtering or screening performed before data AA144 isreceived by NCP AB104. Call data AA144 can include, among other callattributes, the originating number, the called number, and the route orcircuits activated in customer switch AA104. Thus, full control of thecall and all its call audio AA142 and call data AA144 can be provided bycall processing system AB102.

A further high-level illustration of the functionality of callprocessing system AB102 is now described with reference to the followingexample. In this example, an originating user AA106A initiates a callrequiring operator assistance. FIG. 6, which comprises FIGS. 7 and 8, isa high-level operational flow diagram illustrating the process that callprocessing system AB102 uses to process operator-assisted calls.Referring now to FIGS. 3, 7, and 8, originating user AA106A initiates anoperator assisted call as shown in a step AE102.

In a step AE104, call processing system AB102 receives call audio AA142and call data AA144. More specifically, matrix switch AB106 receivescall audio AA142 and NCP AB104 receives call data AA144.

In a step AE106, NCP AB104 interprets call data AA144 and determinesthat originating user AA106 originated a call requiring operatorassistance. For example, in one embodiment NCP AB104 could examine thecalled number and determine that because the first number dialed iszero, the caller is requesting operator assistance.

In a step AE108, NCP AB104 instructs matrix switch AB106 to route callaudio AA142 to an operator console AB108. If a human operator is notrequired, call audio AA142 can be routed to an automated operatorconsole (for example, an automated voice response unit VRU AB134). Inthis case, the VRU AB134 instructs the caller on how to proceed. Theseinstructions are typically telephone keypad button sequences to bepressed by the caller to complete the call. An example of this is whereVRU AB134 instructs the caller to enter a calling card number.

If a human operator is required to handle the call, the call audio AA142is routed to a manual operator console AB132. In this case, the callercan converse with the operator. An example of this case is where thecaller is placing a collect call.

Where matrix switch is a DMS 250, NCP AB104 simply instructs the DMS 250to route the call to the console position assigned to operator consoleAA108. Because operator console AB108 only gets call audio AA142,operator console AB108 is treated as any other destination and can beidentified by a terminating number.

In a step AE110, NCP AB104 routes operator control data AB124 tooperator console AB108 via a LAN AB128. Operator control data AB124instructs operator console AB108 regarding the handling of the call.Operator control data AB124 is determined by NCP AB104 when NCP AB104receives call data AA144.

There is a key distinction between call-processing system AB102 and theconventional system illustrated in FIG. 1. With the conventional system,special operator console ports are required to allow an operator consoleAA108 to be interfaced to matrix switch AA102. This is because controlinformation had to be provided by matrix switch AA102 to operatorconsole AA108.

However, according to call processing system AB102, matrix switch AB106only has to transfer call audio AA142 to operator console AB108. Thecontrol information is provided by NCP AB104 in the form of operatorcontrol data AB124. Operator console AB108 only gets call audio AA142from matrix switch AB106. Therefore, operator console AB108 can betreated as if it is any other terminating user AA106B or customer switchAA104. Thus operator console AB108 does not have to interface to matrixswitch AB106 via a special operator console port. Therefore, the numberof operator consoles AB108 that can interface to matrix switch AB106 isnot limited to the number of operator console ports available on matrixswitch AB106.

Operator console AB108 now has a connection with audio channel AA122. Asnoted above, operator console AB108 can be either an MOC AB132 for ahuman operator, or an automated VRU AB134.

If originating user AA106A is placing a calling card call, originatinguser AA106A is prompted by operator console AB108 to enter the callingcard number. The number is received and verified to ensure that it is avalid number. If the number is invalid, the user is informed that thecall cannot be completed. This occurs in a step AF102 (FIG. 8).

For valid calling card numbers and for collect calls, operator consoleAB108 initiates the connection to the terminating user AA106. Thisoccurs as described in steps AF104-AF108 as follows.

In a step AF104, operator console AB108 sends operator response dataAB126 to NCP AB104 via LAN AB128 indicating that the call can be placedas requested. In response, NCP AB104 sends switch control data AB122 toconfigure matrix switch AB106. This tells matrix switch AB106 how toroute the call. This occurs in a step AF106.

In a step AF108, matrix switch AB106 is reconfigured to direct the callto the destination as instructed by NCP AB104.

For a collect call, the operator asks the called party whether they arewilling to accept the charges. This occurs in a step AF108.

If the called party is not willing to accept the charges, operatorconsole AB108 sends operator response data AB126 to NCP AB104 indicatingthat the call should be terminated. This occurs in a step AF110.

It should be understood that the two examples of placing a collect calland a calling card call are offered as examples only. These examplesshould not be interpreted to imply that the call processing system AB102is limited to only these types of capabilities.

Call processing system AB102 provides additional value-added features totelephone services. As fully described in this document, call processingsystem AB102 can be configured to provide the capability for, amongother things, operator assisted calling, calling card and credit cardcalling, number translation and forwarding, real-time call billing, andreal-time call rating.

Call processing system AB102 can include additional systems, subsystems,and features not addressed in this high-level introduction. Thesesystems, subsystems and features, discussed in detail in the sections ofthis document that follow, are now briefly introduced. FIG. 9 is ahigh-level block diagram illustrating a representative architecture ofcall processing system AB102 according to one embodiment. It should benoted that this architecture is presented by way of example only and isnot intended to limit call processing system AB102 to this embodiment.Numerous alternative architectures can be chosen to implement callprocessing system AB102 in alternative embodiments.

Referring now to FIG. 9, in one embodiment, call processing system AB102includes matrix switch AB106, network control processor AB104, andoperator consoles AB108. Additionally, call processing system AB102includes a validation system AG102, a console status display AG110, anerror box AG104, a log box AG106, a fraud detection and preventionsystem AG112, and a billing system AG108.

Validation system AG102 is provided to validate certain pieces of callinformation before the call is completed. In this document, a call iscompleted by routing the call to its destination (to the called party).For example, validation system AG102 may be used to determine if acalling card number is valid for the call being placed, or if a creditcard number is valid for credit card calls.

Error box AG104 receives problem and error information from othercomponents in call processing system AB102. Error box AG104 logs thisproblem information for future reference.

Log box AG106 tracks events specific to start-up and termination ofapplications on LAN AB128. These include application log-ins andlog-outs. Error messages recorded by error box AG104 and log messagesrecorded by log box AG106 can be tied together to aid in troubleshooting and error analysis.

Billing system AG108 performs billing services for call processingsystem AB102. These services are fully discussed in the Billing SystemSection of this patent document.

Fraud detection and prevention system AG112 is used to provide realtimefraud monitoring and detection. These capabilities facilitate detectionand prevention of fraudulent use of call processing system AB102. Frauddetection and prevention system AG112 is further discussed in the frauddetection and prevention section of this patent document.

Console status display AG110 provides numerical and graphicalinformation about current and past status of operator consoles AB108.

2.0 NETWORK CONTROL PROCESSOR (NCP)

The Overview Section of the Detailed Description provides a high-leveldescription of how a Network Control Processor (NCP) AB104 is used tocontrol call handling and perform call processing for long-distancecarriers. This section of the Detailed Description describes NCP AB104and its interfaces in greater detail.

2.0.1 Network Control Processor

FIG. 10 is a block diagram illustrating call processing system AB102 ingreater detail. More specifically, FIG. 10 illustrates the componentsthat comprise NCP AB104 in one embodiment. These components include acentral message processor (CMP) BA102, a database server (DBS) BA104, acall route distributor (CRD) BA106, a billing server (BSRVR) BA108, ahost gateway BA110 and a customer gateway BA112. Multiple host gatewaysBA110 may be provided to interface to multiple matrix switches AA106.Similarly, multiple customer gateways BA112 may be provided.

In one embodiment, these components communicate with one another via alocal area network (LAN) BA122. CMP BA102 communicates with operatorconsoles AB108 via a LAN AB128. In one embodiment, LAN AB128 is anethernet LAN using the TCP/IP protocol.

FIG. 10 depicts a logical (versus physical) architecture for NCP AB104in terms of the illustrated processes. This architecture is chosenbecause it groups related functionality into separate processes. Itshould be noted that this is only one possible architecture forimplementing NCP AB104. NCP AB104 can be implemented using numerousvariations on this architecture.

The design of NCP AB104 is such that processes within NCP AB104 can allrun on different computers and still communicate with one another.

NCP AB104 is part of call processing system AB102. Call processingsystem AB102 also includes at least one matrix switch AB106 and at leastone operator console AB108.

NCP AB104 interfaces to matrix switch AB106 via host gateway BA110.Additional host gateways BA110 may be provided, when needed, tointerface to additional matrix switches AB106. NCP AB104 also interfacesto a customer switch via customer gateway BA112. In actuality, numeroussubscribers AA114 and customer gateways BA112 may interface to NCPAB104.

As discussed in the Overview Section, each customer AA110 may have acustomer switch AA104 to tie in one or more end users AA106 (see FIG.3). A customer AA110 of call processing system AB102 can be a businessor a small, medium, or large telephone carrier.

The interface between subscribers AA114 and NCP AB104 is signallingchannel AA124. As previously noted, in one embodiment signalling channelAA124 is an SS7 channel. Customer gateway BA112, which is connected tosignalling channel AA124, serves several functions. One function is toprovide communications and protocol conversions necessary so that NCPAB104 can communicate with customer AA110. More specifically, customergateway BA112 provides protocol conversions so that NCP AB104 cancommunicate with customer switch AA104. For example, where SS7 messagesare used with customer switch AA104, customer gateway BA112 converts theSS7 message to a message type compatible with LAN BA122.

Similarly, host gateway BA110 provides communications and protocolconversions necessary so that NCP AB104 can communicate with matrixswitch AB106. Again, where SS7 messages are used, host gateway BA10converts the SS7 message to the message type compatible with LAN BA122.

Gateways BA110, BA112 can also be implemented to convert other messagetypes (such as a switch-vendor asynchronous protocol) into the messagetype compatible with LAN BA122.

In a preferred embodiment, the functionality provided by customergateway BA112 and host gateway BA110 is part of NCP AB104. Inalternative embodiments, this functionality could be provided ingateways that are physically separate from NCP AB104.

2.0.2 Call Setup Using the Network Control Processor

To illustrate the functionality of NCP AB104 and its processes, anexample data flow is now described. This data flow illustrates whatoccurs when a call originated by a user AA106 is received by callprocessing system AB102. In this example, the call placed is onerequiring operator assistance. Operator assistance is not required forevery call. This example is chosen to illustrate the additionalfunctionality used to provide operator assistance.

FIG. 11 which comprises FIGS. 12 and 13, is an operational flow diagramillustrating the steps involved in handling a call requiring operatorassistance. FIG. 14 is a data flow diagram illustrating the data flowsthat occur within NCP AB104 and external to NCP AB104 when the call isreceived. Referring now to FIGS. 12, 13, and 14, this data flow is nowdescribed.

In a step BA202, a phone call requiring operator assistance is receivedfrom a user AA106. User AA106 is using a long-distance carrier that is acustomer AA110 of call processing system AB102. In this step, call dataAA144 is received by NCP AB104. Although any of numerous signalingconventions may be used, this example is described in terms of anembodiment using SS7 messages. Therefore, in this embodiment, call dataAA144 is an SS7 message. The SS7 message is an initial address message(IAM) BA344.

The call data AA144 can include information such as the called partynumber, the calling party number, an identification of the customerswitch AA104 from which the SS7 message is received, an identificationof the long-distance carrier customer AA110, an identification of theoriginating user AA106A placing the call, the digits dialed (forexample, 0+, 0-, 800+, etc.), the circuit location of the audioconnection in customer switch AA104, and other like information.

In a step BA204, customer gateway BA112 sends a CALL SETUP MESSAGE #1BA302 to CMP BA102. In this step, customer gateway BA112 performs aconversion from a call data AA144 message type (in this example, an SS7IAM message) to a LAN BA122 message type. CALL SETUP MESSAGE #1 BA302includes all information (i.e., call data AA144) in IAM BA344. In theSS7 example, customer gateway BA112 encapsulates the SS7 message datainto a packet for transfer over the LAN BA122. One manner in whichmessages are sent across LAN BA122 in a preferred embodiment is fullydescribed in the Client/Server Section of this document.

In a step BA206, CMP BA102 sends a GET CALLHANDLE MESSAGE BA304 to BSRVRBA108. GET CALLHANDLE MESSAGE BA304 requests that a callhandle BA305 beassigned to the call by BSRVR BA108. Callhandle BA305 is a unique numberused to identify the call. Callhandle BA305 is used to identify the callat each phase of processing within call processing system AB102.Callhandle BA305 is also used to identify the call for billing purposes.

All information gathered for the call is referenced to the uniquecallhandle BA305 assigned to that call. Upon assignment of callhandleBA305, BSRVR BA108 can create or allocate space within a callhandletable EB132 (illustrated in FIG. 54) to store parameters, attributes, orother call-related information gathered for that call. This call-relatedinformation is indexed by callhandle BA305. This information is used tomake up a billing information record (BIR) EE322 (illustrated in FIG.51).

Once callhandle BA305 is assigned by BSRVR BA108, BSRVR BA108 returns aCALLHANDLE RESPONSE MESSAGE BA352 indicating the assignment is made.

In a step BA208, CMP BA102 retrieves call parameters BA308 from DBSBA104. In this step, CMP BA102 sends a CALL ID REQUEST BA306 to DBSBA104 and waits for call parameters BA308 in response. Upon receipt ofCALL ID REQUEST BA306, DBS BA104 performs a look-up in a call IDdatabase (described in section 2.4 of this document, and in detail inSection 2.4.3.1). The look-up is performed based on the informationincluded in call data AA144 (for example, ANI, called number, switchnumber, origin number, origin location, etc.). In one embodiment, calldata AA144 for each call is used as a key to search for one or morerecords containing call parameters BA308. In this manner, the callprocessing that is defined by call parameters BA308 (as described below)can be customized based on call data AA144. Therefore, call processingcan be customized on a per user AA106 or per customer AA110 basis. Infact, call processing can even be customized based on other data in calldata AA144 including geographic area.

Call parameters BA308 include information pertaining to the manner inwhich the call is to be handled by call processing system AB102. Callparameters BA308 can be used to indicate whether the originating number(ANI) is valid, whether the call requires operator assistance, the typeof operator assistance required, and other information pertaining tohandling the call.

One specific call parameter BA308 that can be used is a device arraylist BA354. Device array list BA354 provides information used forrouting the call to a specific one of the operator consoles AB108.Devices listed in device array list BA354 are types of devices that canbe used to handle the call. These devices can include a voice responseunit AB134, a manual operator console AB132, recorded message, arecording device, and the like. In one embodiment, the order in whichthe device types appear on the list indicates the priority in whichthose devices are to be selected for handling the call. In other words,if the device array list BA354 first lists a VRU AB134 type of operatorconsole AB108 and then lists a manual operator console AB132 type, thecall is first routed to an available VRU AB134. If all VRUs AB134 arebusy, the call is next routed to an available manual operator consoleAB132. This process continues until all types on device array list areexhausted, or until a type with an available console is reached.

Also included in call parameters BA308 is a language field BA356. Thisis useful for calls that may require an operator (manual or automated)capable of responding in a certain language. The language field BA356retrieved for an incoming call indicates whether the caller requires (ordesires) an operator speaking a particular language. For example, onelanguage field BA356 may indicate Spanish language operator assistance,while another indicates Chinese language operator assistance. Thelanguage may be designated based on any field in call data AA144. Inother words, when language field BA356 is retrieved for a call, theretrieval may be keyed on the originating number, carrieridentification, geographic area and/or other call data AA144.

Call parameters BA308 can also include a call type BA358. Call typeBA358 provides an additional level of differentiation so that differentcall types can be routed to different types of operator consoles AB108.Call type BA358 can be used to distinguish calls for a variety ofreasons. For example, call type BA358 can segment calls so that they canbe routed to operators with different attributes and/or capabilities, orto different types of processing (for example, number translation).

In one embodiment, when each operator console AB108 logs in to the CRDBA106, it provides an operator profile. The profile contains informationabout the attributes and/or capabilities of that particular operatorconsole AB108 or of a particular human operator. For example, theprofile can include information such as the processing capabilities of aconsole AB108 and the language capabilities of a human operator. Fromthis, it can be determined what types of calls can be handled by eachoperator console AB108.

The profile provided to CRD BA106 at login, can also include informationpertaining to the level of operator expertise. This additional level ofdifferentiation can be used to provide certain types of calls to certaintypes of operator consoles AB108. The call can even be directed to aspecific human operator at a manual operator console AB132. Thus, someof the easier calls to handle, such as simple collect calls, can berouted to an operator with little experience. On the other hand, callsrequiring a higher level of operator involvement can be directed to anoperator with more experience.

It is important to note that call parameters BA308 can be retrievedbased solely on the call information contained in call data AA144, suchas user ID, carrier ID, originating number, called number, circuitnumber, et cetera. No additional user input is required. As describedabove, call parameters BA308 for a call can be determined uniquely basedon call data AA144. The level of service, the type of operator consoleAB108 designated, or the type of call processing provided for eachsubscriber AA114 or client can be changed by updating call parametersBA308. These changes can be made by creating or updating the datarecords containing call parameters BA308. In most cases, no changes tooperational code are required.

In a step BA210, CMP BA102 sends an ALLOCATE CONSOLE MESSAGE BA310 toCRD BA106. ALLOCATE CONSOLE MESSAGE BA310 can include device array listBA354, call type BA358, and language field BA356 received with callparameters BA308 for the call. As described, CRD BA106 uses device arraylist BA354 and other call parameters BA308 to determine which consoletype or which specific console AB108 is required to handle the call. CRDBA106 examines a console usage table BA374 to determine which operatorconsoles AB108 are available to handle this call. Console usage tableBA374 indicates in real-time the availability of each specific consolewithin the group of operator consoles AB108.

In other words, console usage table BA374 is a list indicating whichoperator consoles AB108 are available to handle a call, which operatorconsoles AB108 are currently in use handling other calls, and whichoperator consoles AB108 are otherwise unavailable (for example, arelogged off). If an operator at one of the manual operator consoles AB132takes a break, for example, that operator logs off the system and theconsole usage table is automatically updated to reflect theunavailability of that particular operator console AB132. VRUs AB134,and CSCs AB136, can also log on and off the call processing systemAB102.

In response to ALLOCATE CONSOLE MESSAGE BA310, CRD BA106 returns aCONSOLE ALLOCATE RESPONSE message BA312. This occurs in a step BA212.CONSOLE ALLOCATE RESPONSE MESSAGE BA312 provides CMP BA102 withinformation such as the route number or console ID of the specificoperator console AB108 assigned to handle the call. If no operatorconsoles AB108 are available for any of the device types listed on thedevice array list, the call is queued until an operator console AB108which is able to take that type of call is available. More specifically,the call is placed in a queue BA372. Each call may be prioritized basedon when the call was queued or based on call priority. This queueinformation is provided to CMP BA102. Music or other messages can beprovided to the caller while the caller is waiting on queue BA372. Themusic and messages can be customized to a particular user AA106 or aparticular customer AA110.

A console status display AG110 indicates how many calls are waiting onqueue BA372 to logged-on manual operator consoles AB132. Alternativenotification systems can be provided (such as audible alarms, forexample), to inform the operators of a backlog of calls. In this manner,an indication is provided when calls are queuing up in the CRD BA106 asseen on the console status display AG110. If queue BA372 becomes toolong, a supervisor or another operator can log on and handle some of thequeued calls to alleviate the backlog. Additionally, for all operatorconsoles AB108, automatic alarms can be set to trigger where a specifiednumber of calls are exceeded on the queue.

Similarly, queue information is provided regarding VRUs AB134. If a VRUAB134 queue BA372 becomes too long, an alarm or other signal can be usedto indicate to a supervisor that a backlog is occurring. The supervisor,or other operator, can take appropriate action. Appropriate action caninclude handling the calls manually or bringing additional VRUs AB134 online.

Referring again to FIG. 1, it is important to note that in mostconventional systems, matrix switch AA102 controls the queuing.Typically, these conventional systems only provide a queue status atperiodic intervals. For example, matrix switch AA102 may only providequeue information once every 30 seconds. However, during this 30-secondinterval, a situation could arise where a number of calls are placed onhold and then the callers hang up before the next 30-second intervaloccurs. In this case, the operators and the long-distance carrier AA112may never know that these calls were queued to the consoles.

Turning again to FIGS. 3, 11, and 14 in call processing system AB102,when a call is received and queued, operators are informed in real timevia a console status display. Thus, the operators of call processingsystem AB102 are provided with immediate notice when calls are queued.The reason NCP AB104 can provide this feature is that NCP AB104 controlsthe queuing rather than matrix switch AA102 (or matrix switch AB106).Thus, an advantage of NCP AB104 is the potential for increased customersatisfaction by providing the operators the ability to respond to callbacklogs, where other systems may not even have an indication that abacklog of calls is occurring.

In a step BA214, CMP BA102 creates and sends a CALL SETUP MESSAGE #2BA314 to host gateway BA110. CALL SETUP MESSAGE #2 BA314 providesinstructions to matrix switch AB106 (via host gateway BA110, whererequired) regarding completion of the call. CMP BA102 uses call dataAA144 to determine what to instruct matrix switch AB106 regarding callrouting. In the case of an operator-assisted call, CMP BA102 also usesCONSOLE ALLOCATE RESPONSE MESSAGE BA312 to determine to which consolethe call is to be routed.

For the case of a direct dial call, CMP BA102 builds CALL SETUP MESSAGE#2 BA314 to instruct matrix switch AB106 to route the call to thedestination. CMP BA102 determines the destination by the called number.For an operator-assisted call, once a console is assigned, CMP BA102builds CALL SETUP MESSAGE #2 BA314 to instruct matrix switch AB106 (viahost gateway BA110, where required) to route the call to the correctoperator console AB108. Thus, CMP BA102 uses call data AA144 todetermine how the call should be routed, and then builds CALL SETUPMESSAGE #2 BA314 to command matrix switch to route the call asdetermined.

In the case where the communications protocols used by matrix switchAB106 and NCP AB104 are different, a host gateway BA110 is used toprovide the necessary protocol conversions. In this case, host gatewayBA110 constructs a SWITCH COMMAND MESSAGE BA316. In keeping with thecurrent example, SWITCH COMMAND MESSAGE BA316 in one embodiment is anSS7 IAM, and call SETUP MESSAGE #2 BA314 is one or more LAN packetscontaining the SS7 instructions for switch. Thus, host gateway BA10constructs and sends SWITCH COMMAND MESSAGE BA316 to matrix switchAB106. This occurs in a step BA216. SWITCH COMMAND MESSAGE BA316commands matrix switch AB106 to connect the call audio AA142 portion ofthe call to the operator console AB108 assigned by CRD BA106 in stepsBA210 and BA212.

Note that because this is an operator-assisted call, SWITCH COMMANDMESSAGE BA316 commands matrix switch AB106 to route call audio AA142 tothe designated operator console AB108. For the case of a direct-dialcall, CALL SETUP MESSAGE #2 BA314, and hence SWITCH COMMAND MESSAGEBA316, commands matrix switch AB106 to route the call to the callednumber.

SWITCH COMMAND MESSAGE BA316 includes information such as theoriginating number and the number called. Matrix switch AB106 looks atthe called number and determines the trunk group to which that call isto be routed based on the called number.

It should be noted that in conventional long-distance switching systems,call data AA144 sent by originating user AA106 is the same as SWITCHCOMMAND MESSAGE BA316 sent to matrix switch AB106. In the presentinvention, these are actually two different messages. In theconventional system call data AA144 directs matrix switch AA102 to routethe call to the destination and indicates that an operator console is toreceive the call first. In call processing system AB102, switch commandmessage BA316 commands matrix switch AB106 to route the audio to anoperator console just as if the operator console is another customerswitch AA104. Also, because NCP AB104 receives call data AA144, NCPAB104 can use call data AA144 to make processing determinationsregarding the call, determine how to handle the call, and providevalue-added features on a per-call basis.

As soon as host gateway BA110 sends SWITCH COMMAND MESSAGE BA316, italso sends a CALL SETUP RESPONSE BA330 to customer gateway BA112 via CMPBA102. This occurs in a step BC102, as shown in FIG. 13. CALL SETUPRESPONSE BA330 is an acknowledgement of CALL SETUP MESSAGE #2 BA314.

In a step BC104, matrix switch AB106 sends an INITIAL ADDRESS MESSAGEBA318 (in one embodiment, an IAM) to host gateway BA110. This message isautomatically generated by matrix switch AB106 and is provided foroperator consoles AB108.

As noted above in call processing system AB102, operator consoles AB108appear to matrix switch AB106 as if they are simply another customerswitch AA104. This is why matrix switch AB106 generates an IAM messageBA318 for transmittal back to operator consoles AB108. IAM message BA318is the message that matrix switch AB106 would normally generate to sendto the terminating switch when it is routing a call thereto.

In a step BC106, a CALL SETUP MESSAGE #3 BA320 is sent from host gatewayBA110 to CMP BA102.

At the same time, in a step BC108, an ADDRESS COMPLETE MESSAGE BA322 issent from host gateway BA110 to matrix switch AB106. Address completemessage BA322 is analogous to an acknowledgement of INITIAL ADDRESSMESSAGE BA318.

In a step BC110, host gateway BA110 sends an ANSWER MESSAGE #1 BA324 tomatrix switch AB106. ANSWER MESSAGE #1 BA324 indicates that thedestination to which call audio AA142 is to be routed is available. Inthis case, because the destination is an operator console AB108, ANSWERMESSAGE #1 BA324 can be generated and sent to matrix switch AB106automatically.

If an operator console AB108 is not immediately available to handle acall, the call is placed on hold in a queue BA372. In this situation,ANSWER MESSAGE #1 BA324 is still sent, indicating the call is held at astub on matrix switch AB106.

In a step BC112, a CALL ACCEPTED MESSAGE BA326 and an ANSWER MESSAGE #2BA328 are sent from matrix switch AB106 via host gateway BA110 andcustomer gateway BA112 to customer switch AA104. CALL ACCEPTED MESSAGEBA326 and ANSWER MESSAGE #2 BA328 inform customer switch AA104 thatrouting of the call has been completed.

After CMP BA102 receives CALL SETUP MESSAGE #3 BA320 from host gatewayBA110 in step BC104, CMP BA102 sends a NEW CALL MESSAGE BA332 tooperator console AB108. This occurs in a step BC114. NEW CALL MESSAGEBA332 informs the specific operator console AB108 chosen to handle thecall that it has a new call to handle. NEW CALL MESSAGE BA332 alsoincludes call handling information from a call ID database in DBS BA104.This information, which can be part of operator control data AB124,tells console operator AB108 how to handle the call.

The call audio AA142 of the call is already routed to console AB108 as aresult of IAM message BA316 previously sent from host gateway BA110. NEWCALL MESSAGE BA332 from CMP BA102 to operator console AB108 can includeinformation such as the identity of subscriber AA114, originating andterminating telephone numbers, the identification of customer AA110, andthe customer client.

One feature of the present invention is that this call information canbe used to customize the call process for a particular subscriber AA114(customer AA110, client of customer AA110, or user AA106). For example,for a manual operator console AB132, information such as the name of thecustomer AA110 through which the call is originated can be displayed onthe operator console screen so that the operator can answer the callusing that name. Thus, it appears to user AA106 that the operator is anoperator working for customer AA110 to which that user subscribes. Otheruseful information can be displayed on the screen for the humanoperator's use, such as the caller's originating telephone number, thegeographic location of the caller, the called telephone number, and thegeographic location of the called telephone number.

Similarly, for an automated VRU AB134, the call information informs theVRU AB134 which type of call is being placed and its origin, among otherinformation. For example, for a calling card call originated by anoriginating user AA106A who is a client of a specific customer AA110,VRU AB134 knows the identification of the specific customer AA110, andcan play (or synthesize) the voice script corresponding to that customerAA110. Thus, VRUs AB134 and manual operator consoles AB132 can betime-shared among numerous customers AA110 and users AA106 whileproviding the appearance to user AA106 that these operator consolesAB108 are dedicated services of the customer AA110 to which that userAA106 subscribes. Thus, operator consoles AB108, both manual andautomatic, can respond uniquely to different users AA106, based on whoand where the user is and which customer AA110, if any, is being used.

The above example illustrates how call processing system AB102 routesoperator-assisted calls to an operator console AB108. For callsrequiring other types of service, the operation is somewhat different.For example, for requiring a number translation, CMP BA102 accesses anumber translation database FA214B (see FIG. 69) in DBS BA104 to get thenumber to be called. In this situation, CMP BA102 then sends a messagevia host gateway BA110 indicating to matrix switch AB106 the actualdestination number so that the call can be completed. Matrix switchAB106 routes call audio AA142 to the terminating number, and customergateway BA112 routes call data AA144 to the terminating switch. Thesecall routing determinations may be made at any time during callprocessing, or even several times during call processing. For example,once call processing system AB102 has routed calls to an operatorconsole AB108 and/or VRU AB134, where a called number has beencollected, number translation may be performed upon that number, causingthe call to be routed to a destination number, or back to operatorconsole AB108 or VRU AB134.

2.0.3 Call Completion for a Calling Card, Credit Card, or Debit CardCall

The discussion above with reference to FIGS. 14 and 11 describes how anoperator-assisted call is routed to an operator console AB108 to provideoperator assistance (in other words, how the call is set up). The mannerin which call processing system AB102 completes the call when it isplaced using a credit card, debit card, or calling card is nowdescribed. FIG. 15, which comprises FIGS. 16 and 17, is a data flowdiagram illustrating the data flows that occur within NCP AB104 andexternal to NCP AB104 when a calling card, credit card, or debit cardcall is completed according to one embodiment. FIG. 18, is anoperational flow diagram illustrating the operation of completing acalling card, debit card, or credit card call according to oneembodiment.

Referring now to FIGS. 16, 17, and 18, in a step BD302, operator consoleAB108 that is handling the call validates the card number to ensure thatthe card used is valid. In one embodiment, this is accomplished usingvalidation system AG102 as described in the Validation System Section ofthis document. If the card number is validated, operator console AB108may then rate the call. Call rating can be done in conjunction withdebit cards to determine when to terminate the call based on the amountof dollars remaining in the debit card account. Rating of the call isaccomplished as described in the billing system section of thisdocument.

Once the call is validated and operator console AB108 determines that itcan be completed, operator console AB108 sends a CALL COMPLETE MESSAGE#1 BD102 to NCP AB104. CALL COMPLETE MESSAGE #1 BD102, which can be partof operator response data AB126 is used on operator console AB108 toindicate that NCP AB104 can complete the call to the called number. Thisoccurs in a step BD308.

In a step BD312, NCP AB104 determines the optimum routing for the call.In one embodiment, this is accomplished by sending a TERMINATION Look-upREQUEST BD202 to DBS BA104. In response, DBS BA104 looks up the optimumroute for the call and provides this information to CMP BA102.

In a step BD314, NCP AB104 releases the call from operator consoleAB108. In one embodiment, this is accomplished by sending a message tomatrix switch AB106. CMP BA102 sends a COMPLETE CALL MESSAGE BD204 tohost gateway BA110. Host gateway BA110 converts COMPLETE CALL MESSAGEBD204 into a FAR MESSAGE BD104. FAR MESSAGE BD104 has the effect oftransferring the call audio from the operator console AB108 that washandling the call, so it may be routed to the terminating destination.Continuing in this embodiment, matrix switch AB106 sends a RELEASECONSOLE MESSAGE BD106 to the CMP via the gateway. This message isreceived by CMP BA102 which then sends a RELEASE CONSOLE MESSAGE BD210to CRD BA106. CRD BA106 then releases the operator console AB108 andsends a CONSOLE RELEASE RESPONSE BD108 to matrix switch AB106 indicatingthat the operator console AB108 is released.

When the call is transferred from operator console AB108 in step BD314,CMP BA102 sends an UPDATE CIC MESSAGE BD206 to BSRVR BA108. UPDATE CICMESSAGE BD206 updates a CIC (circuit identification code) status inBSRVR BA108 that is associated with the call by the callhandle BA305.The CIC status indicates the status of the audio circuit used in thecall. In this step, the CIC status is updated to show a call in process.

In a step BD316, matrix switch AB106 sets up the call at the terminatingnumber. One embodiment of step BD316 is now described. In thisembodiment, matrix switch AB106 first sends an IAM BD110 to NCP AB104.If required, host gateway BA110 converts IAM BD110 to a CALL SETUPMESSAGE BD112. In response to CALL SETUP MESSAGE BD112, CMP BA102 sendsa second UPDATE CIC MESSAGE BD206 to BSRVR BA108. This adds a CIC statusto the callhandle BA305 for the terminating audio circuit. CALL SETUPMESSAGE BD112 is passed on to customer switch AA104 at the terminatingend. Where required, customer gateway BA112 converts CALL SETUP MESSAGEBD112 to an IAM BD114. This informs customer switch AA104 that a call isbeing routed.

In a step BD318, customer switch AA104 at the terminating end acceptsthe call. This is accomplished by customer switch AA104 sending anADDRESS COMPLETE MESSAGE BD116. ADDRESS COMPLETE MESSAGE BD116 verifiesthat the circuit is set up and starts ringing the call. ADDRESS COMPLETEMESSAGE BD116 is forwarded to matrix switch AB106 by NCP AB104. Again,where required, customer gateway BA112 and host gateway BA10 perform thenecessary conversions to accept the message and pass it on to matrixswitch AB106.

In a step BD320, when the terminating (called) party answers, an ANSWERMESSAGE BD118 is sent to NCP AB104 from customer switch AA104 at theterminating end. This message is forwarded by NCP AB104 to matrix switchAB106. ANSWER MESSAGE BD118 indicates that the called party has answeredthe call and the parties are connected in the call. In one embodiment,the ANSWER MESSAGE BA118 is sent from customer switch AA104 to matrixswitch AB106 by way of customer gateway BA112 and host gateway BA110. Inthis embodiment, host gateway BA110 provides a START TIMING MESSAGEBD120 to CMP BA102. CMP BA102 in turns sends START TIMING MESSAGE BD120to BSRVR BA108 to start timing the call for retail billing. This occursin a step BD322.

2.0.4 Call Completion for a Collect Call

The manner in which call processing system AB102 completes a collectcall is now described. FIG. 19, which comprises FIGS. 20 and 21, is adataflow diagram illustrating the data flows that occur within NCP AB104and external to NCP AB104 when a collect call is completed. FIG. 22 isan operational flow diagram illustrating the operation of completing acollect call. In completing a collect call, the operator determines theidentification of the calling party and that the calling party wishes toplace a collect call. The operator then calls the called party to verifythat they will accept the charges. In most cases, this is accomplishedusing a human operator at a manual operator console AB132.Alternatively, the process could be automated so that an automated VRUAB134 is used to verify that the charges will be accepted. This mayrequire that originating user AA106A enter requested information via thetelephone keypad and the automated console uses synthesized scripts toobtain approval from the called party (also via keypad entry). For thepurposes of brevity, the completion scenario is discussed with referenceto a human operator at a manual operator console AB132.

Referring now to FIGS. 20, 21, and 22, the operator at manual operatorconsole AB132 must first verify that the called party will accept thecharges. Therefore, operator console AB132 must place a call to theterminating party to obtain this information. To do this, the operatorat manual operator console AB132 sends an ORIGINATE MESSAGE BE102 to NCPAB104. This occurs in a step BE302. The purpose of ORIGINATE MESSAGEB302 is to place the calling party on hold while the operator contactsthe called party. This is different from the scenario discussed abovewith reference to FIGS. 16, 17, and 18. In that scenario, COMPLETEMESSAGE BD102 had the effect of completing the call while terminatingthe involvement of operator console AB108.

In a step BD304, NCP AB104 sets up the call at matrix switch AB106 toroute operator console AB108 audio to the customer switch AA104 (whereused) at the terminating end. In one embodiment, this is accomplished bysending a CALL SETUP MESSAGE BE202 to matrix switch AB106 (IAM BE104 inone embodiment) to instruct matrix switch AB106 to route the call.Matrix switch AB106 responds with a message (IAM BE106 in oneembodiment) telling NCP AB104 that the call is set up. An UPDATE CICMESSAGE BE206 is sent to BSRVR BA108 to update the CIC to indicate thatanother audio circuit is in use for that call.

In a step BE306, the call is set up at customer switch AA104 at theterminating end. In one embodiment, this is accomplished by sending anIAM BE108 to customer switch AA104. Again, IAM BE108 can be a CALL SETUPMESSAGE BE210 sent via customer gateway BA112.

Customer switch AA104 accepts the call. This is accomplished in oneembodiment by sending an ADDRESS COMPLETE MESSAGE BE110 to NCP AB104.ADDRESS COMPLETE MESSAGE BE110 indicates that the call is accepted andstarts ringing. ADDRESS COMPLETE MESSAGE BE110 is forwarded to matrixswitch AB106 via NCP AB104 with any protocol conversions necessary. Thisis done by sending a CALL ACCEPT MESSAGE BE112 from customer gatewayBA112 to host gateway BA110. Matrix switch AB106 responds with an ACMMESSAGE BE113. This occurs in a step BE308.

In a step BE310, and CMP BA102 creates an ORIGINATE STAT MESSAGE BE212which provides an indication to manual operator console AB132 that thecalled party's line is ringing.

In a step BE310, when the called party answers the call, a CALL ANSWERMESSAGE is sent to NCP AB104 and forwarded to matrix switch AB106.Matrix switch AB106 in turn generates an answer message and forwards itto NCP AB104. NCP AB104 provides this answer message to manual operatorconsole AB1132 indicating that the called party has answered and theoperator can request the required information. At the same time, NCPAB104 starts wholesale outbound timing of the call for rating purposes.In one embodiment, step BD310 is accomplished by customer switch AA104sending an answer message BE116 to NCP AB104. Customer gateway BA112sends a call answer message BE118 to host gateway BA110 which in turnsends an answer message (identical to answer message BE116) to matrixswitch AB106.

Once the operator has verified the called party will accept the charges,the operator then completes the call. The CMP BA102 sends a start timingmessage to BSRVR BA108 to start retail timing.

2.0.5 Specific Language Operator Handling

As introduced above, operator consoles AB108 can be assigned to a callto provide foreign language operator services where required or desired.This feature is now described. FIG. 23 is a high-level operational flowdiagram illustrating the manner by which call processing system AB102provides language-specific operator services. Referring now to FIG. 23,in a step BF104, NCP AB104 receives a call from an originating userAA106A. More specifically, NCP AB104 receives call data AA144 for thecall.

In a step BF108, NCP AB104 determines the language preference (orrequirement) of originating user AA106A. In one embodiment, this isaccomplished by using call data AA144 to retrieve a data recordcontaining a language field BA356 that indicates the languagepreference.

In a step BF112, NCP AB104 allocates an operator console AB108 that canprovide the language indicated by language field BA356. In oneembodiment using an automated VRU AB134, the script played orsynthesized by the automated VRU AB134 designated to handle the call isin the specified language.

In one embodiment using a manual operator console AB132, a script thatappears on the screen of the manual operator console AB132 for the humanoperator to read appears in the designated language. Alternatively, anindication on the operator's screen tells the human operator that thescript should be read in a specific language.

To ensure that the human operator is fluent in the requested language,the operator provides this information when logging in to the CRD BA106.Thus the language becomes a part of the operator profile. When CMP BA102retrieves call parameters BA308 and determines that the call requires aspecific language, the call is routed to the operator console AB132whose profile indicates that it can provide the language.

An Alternative, less desirable method is to allocate certain consolesout of a group of manual operator consoles AB132 for certain languages.A collection of one or more manual operator consoles AB132 can bedefined in an allocation table as having the capability to handle aspecific language. Thus if a call is placed requiring a Spanish-speakinghuman operator, when CRD BA106 allocates the manual operator consoleAB134, it will only allocate one of the collection of consoles that isdesignated to have a Spanish-speaking operator. In one embodiment, thelanguage allocation tables are maintained by CRD BA106. CMP BA102specifies the language preference for the call based on call parametersBA308 and CRD BA106 uses this information in allocating the call to theappropriate console.

2.1 NETWORK CONTROL PROCESSOR CALL ROUTE DISTRIBUTOR (CRD) 2.1.1 CRDIntroduction and CRD Redundancy

As discussed, NCP AB104 includes a call route distributor (CRD) BA106.The primary function of CRD BA106 is to allocate an operator consoleAB108 to each incoming call. CRD BA106 queues the incoming call to aconsole queue BA372 when all operator consoles AB108 are utilized. Theallocation of a particular operator console AB108 to an incoming call isbased on the device type listed in device array list BA354, languagefield BA356, and other information contained in call parameters BA308.

CRD BA106 keeps track of the amount of time each call is in consolequeue BA372 and provides information to a console status display AG110indicating that calls are queued. For manual operator consoles AB132this information may be displayed on a console status display screen.

So that CRD BA106 can keep track of the number of operator consolesAB108 available to handle calls, each operator console AB108 is requiredto log on to CRD BA106. The logon procedure is now described.

FIG. 24 is a block diagram illustrating CRD BA106 and its interfaces.Referring to FIG. 24, as discussed with referenced to NCP AB104, CRDBA106 interfaces via LAN BA122 to CMP BA102. CRD BA106 also interfacesvia LAN AB128 to operator consoles AB108. CRD BA106 also interfaces toerror box AG104 and log box AG106.

Log box AG106 is communicated with at the start-up and shutdown of theCRD BA106. When CRD BA106 is started, it sends a message to log boxAG106 indicating that it is logged onto LAN BA122 and operational. Logbox AG106 keeps track of all current processes and components loggedonto LAN AB128, and their current states. Login messages include thetime at which the application was started, the name of the application,the version number, the address of the application on LAN AB128, and itsservice name. Logout messages include the time at which the applicationterminated, the name of the application, and the version number.

Unexpected results and errors are reported to error box AG104.

FIG. 25 is a block diagram illustrating redundant CRDs BA106, and theirinterface to operator consoles AB108. FIG. 25 illustrates the interfacein terms of data flows. It should be noted that in a preferredembodiment, CRDs BA106 interface to operator console AB108 via LAN BA122as illustrated in FIG. 10.

FIG. 26 is an operational flow diagram illustrating the steps followedby CRDs BA106 and operator consoles AB108 when the CRDs are initialized.

Referring now to FIGS. 25 and 26, in a step CB102, upon initialization,both CRDs BA106 communicate with each other to determine which CRD BA106is to be considered a primary CRD BA106A and which CRD BA106 is to be asecondary CRD BA106B. This determination is made based on informationcontained in a CLIF configuration file (illustrated in FIG. 137). Ifthere is only one CRD BA106 available in a particular installation ofcall processing system AB102, that CRD BA106 will always be primary CRDBA106A.

In a step CB104, primary CRD BA106A sends a BROADCAST MESSAGE CA122 tooperator consoles AB108. BROADCAST MESSAGE CA122 contains informationfor operator consoles AB108 indicating which CRD BA106 is primary CRDBA106A. BROADCAST MESSAGE CA122 also indicates to operator consolesAB108 that they should log on to primary CRD BA106A.

When a console AB108 receives a BROADCAST MESSAGE CA122, it sets atimer. This occurs in a step CB106. In one embodiment, the amount oftime set on the timer for each console AB108 is based on its address onLAN BA122. The amount of time in the timer indicates to each operatorconsole AB108 how long to wait before responding with LOGON REQUESTCA124. This timer function is used so that CRD BA106 is not overburdenedwith numerous simultaneous LOGON REQUESTS CA124 from operator consolesAB108.

In a step CB108, each console AB108 responds with a LOGON REQUEST CA124at a time determined by the timer set in step CD106. Only consoles AB108available to handle calls will respond with LOGON REQUEST CA124. If aconsole AB108 is non-operational for any reason, it will not respondwith a LOGON REQUEST CA124. Similarly, for a manual operator consoleAB132, a human operator must perform, or at least authorize, the initiallogin. If a manual operator console AB132 is logged in to a primary CRDBA106A and it goes down, the manual operator console AB132 can log on tothe secondary CRD BA106B (now primary) without human operator action.Thus, if a manual operator console AB132 is not staffed by a humanoperator, that manual operator console AB132 cannot send the LOGONREQUEST CA124 to primary CRD BA106A.

After sending LOGON REQUEST CA124, operator console AB108 expects aLOGON RESPONSE CA125 from primary CRD BA106A as shown in a step CB109.

If operator console AB108 does not receive LOGON RESPONSE CA125 after adesignated timeout period, it attempts to log on to secondary CRD BA106Bby sending a LOGON REQUEST CA124 to secondary CRD BA106B. This occurs ina step CB110.

Operator consoles AB108 provide a MONITOR SIGNAL CA126 to the primaryCRD BA106A onto which they are logged. This occurs in a step CB112.MONITOR SIGNAL CA126 is used by logged-on operator consoles AB108 todetermine whether the CRD AB106A that they have logged on to is stillactive. If operator consoles AB108 do not get a response to MONITORSIGNAL CA126 from the CRD BA106, this indicates that CRD BA106 is nolonger active.

If operator consoles AB108 are logged on to primary CRD BA106A, and noresponse is provided to MONITOR SIGNAL CA126, those consoles send asecond LOGON REQUEST CA124 to secondary CRD BA106B in a step CB110. Inthis step CB110, operator console AB1108 is requesting to log on tosecondary CRD BA106B.

When secondary CRD BA106B receives a LOGON REQUEST CA124 from anoperator console AB108, it verifies that primary CRD BA106A is notavailable by sending a message to primary CRD BA106A. If primary CRDBA106A is unavailable, secondary CRD BA106B sends broadcast messageCA122 to consoles AB108 identifying itself as the new primary CRDBA106A. This occurs in a step CB114.

All operator consoles AB108 logged on to original secondary CRD BA106B(now primary CRD BA106A) send a MONITOR SIGNAL CA126 to the new primaryCRD BA106A to insure that it is still active. This occurs in a stepCB116.

Consoles AB108 again set and utilize the timers for sending LOGONREQUEST CA124 to the new primary CRD BA106A.

If the original primary CRD BA106A returns to active status, it tellssecondary CRD BA106B (now primary CRD BA106) that primary CRD BA106A isactive and now to be considered primary. This occurs in a step CB118.

The operation resumes at step CB104. Here, primary CRD BA106A sendsBROADCAST MESSAGE CA122 to operator consoles AB108. BROADCAST MESSAGECA122 informs operator consoles AB108 that primary CRD BA106A is nowactive and primary. BROADCAST MESSAGE CA122 commands operator consolesAB108 to now log on to primary CRD BA106A.

Operator consoles respond by setting their timers and sending a LOGONREQUEST CA124 to primary CRD BA106A as occurred above in steps CB106 andCB108.

The process continues at step CB110 wherein the consoles AB108 sendMONITOR SIGNAL CA126 to primary CRD BA106A if LOGIN RESPONSE CA125 isreceived. This automatic reconfiguration feature is beneficial in thatit builds a degree of fault-tolerance into the system.

It should be noted that if there is only one CRD BA106, then theprocesses of logging on to secondary CRD BA106B when primary CRD BA106Afails do not apply. In this case, if primary CRD BA106A fails, there isno backup and NCP AB104 fails the call setup process and releases thecall.

2.2 CENTRAL MESSAGE PROCESSOR (CMP) 2.2.1 CMP Introduction andHigh-Level Description

The central message processor (CMP) BA102 determines how a call is to beprocessed based on the call data AA144 received for the call. Based onthis determination, CMP BA102 sends messages to other components toachieve the necessary call handling functionality. For example, when acall requiring operator assistance is received, CMP BA102 determinesthat operator assistance is required. In this case, CMP BA102 sendsmessages to DBS BA104 and CRD BA106 to determine what the callparameters BA308 are and to have an operator console AB108 allocated tothe call. CMP BA102 then sends a command to matrix switch AB106 (viahost gateway BA110, if needed) to instruct it to complete the call tothe destination (See, FIG. 12). Thus, CMP BA102 provides the essentialcall handling functionality of call processing system AB102.

To coordinate the activities of the other components of call processingsystem AB102, CMP BA102 performs message handling and message routing inconjunction with processing a call. CMP BA102 generates, handles androutes messages within NCP AB104. CMP BA102 also generates, handles, androutes messages between NCP BA104 and operator consoles AB108, and othercomponents such as log box AG106, and error box AG104.

In one embodiment, CMP BA102 processes could be coded to make callprocessing determinations based solely on the call data AA144 receivedfor the call. However, in such a situation, a change to the manner inwhich a call is to be processed requires software modification andre-compilation. Thus, in a preferred embodiment, CMP BA102 uses calldata AA144 as a key to retrieve one or more data records containing callparameters BA308.

Call parameters BA308 provide the information indicating how the call isto be processed. Because the information about the call found in calldata AA144 is used to retrieve call parameters BA308, call processingcan be defined uniquely for each call. A record containing a unique setof call parameters BA308 could be provided for each differentcombination of call data AA144. For example, different combinations ofANI, carrier-customer identification, called number, geographic area, etcetera, could each result in different call parameters BA308 beingretrieved. Therefore, call parameters BA308, and the type of processingprovided, can be defined on a per carrier-customer AA110, or per-userAA106 basis.

The functionality of CMP BA102 is now described with reference to ahigh-level operational flow diagram. FIG. 27 is a high-level operationalflow diagram illustrating what occurs when a call is received from asubscriber AA114 by call processing system AB102.

Referring now to FIGS. 10 and 27, in the step DD102, CMP BA102 receivescall data AA144. In one embodiment, CMP BA102 has a callhandle BA305assigned to identify the call. In one embodiment, CMP BA102 accomplishesthis as discussed above with reference to step BA206 in FIG. 12. Thisoccurs in step DD104. Callhandle BA305 is used to identify the call incall processing system AB102.

In a step DD106, CMP BA102 retrieves call parameters BA308 to determinewhat type of treatment is to be given to the call. In one embodiment,CMP BA102 uses the information in call data AA144 to perform a call IDand look up call parameters BA308 in a database. As discussed above,call parameters BA308 can be used to indicate how the call is to beprocessed. Call parameters can indicate, among other things, whetheroperator assistance is required, whether the call is to be processed,the preferred type of operator console AB108 to handle the call.

If the call does not require operator assistance (illustrated by boxDD108), CMP BA102 commands matrix switch AB106 to route the call to itsdestination. This occurs in a step DD112. If necessary, communicationswith matrix switch AB106 can be made through host gateway BA110 asdiscussed above with reference to FIG. 10.

If CMP BA102 determines that operator assistance is required based oncall parameters BA308, CMP BA102 allocates an operator console AB108 tohandle the call. This occurs in a step DD110. In one embodiment, CRDBA106 is used to allocate operator AB108. This embodiment is discussedabove with reference to FIGS. 10 and 12.

Once the operator console AB108 is allocated to handle the callrequiring operator assistance, CMP BA102 commands matrix switch AB106 toroute the call to that operator console. This occurs in step DD112.

2.2.2 CMP Detailed Description

FIG. 28 is a block diagram illustrating CMP BA102 and its interfaces.Referring to DB1, as discussed with reference to NCP AB104, CMP BA102interfaces via LAN BA122 to the components within NCP AB104. CMP BA102also interfaces to an NCP monitor DB104, an error box AG104, a log boxAG106, and operator consoles AB108.

In one embodiment CMP BA102 uses a message manager library DB102.Message manager library DB102 is a list of action records used toprovide instructions regarding how CMP BA102 processes calls. Messagemanager library DB102 is fully described below with reference to FIGS.34, 35, and 36.

CMP BA102 is now described in more detail. FIG. 29 is a message flowdiagram illustrating the flow of messages between CMP BA102 and theother processes within NCP AB104. FIG. 30, which comprises FIGS. 31 and32, is an operational flow chart illustrating the operations performedby CMP BA102 in sending and receiving the messages illustrated in FIG.29. In one embodiment, the actions taken by CMP BA102 are determinedusing action records DB122 as described below. The manner in which CMPBA102 handles calls is now described with reference to FIGS. 12, 14, 29,and 30.

In a step DE102, CMP BA102 receives CALL SETUP MESSAGE #1 BA302. CALLSETUP MESSAGE #1 BA302 includes call data AA144 pertaining to a call tobe processed by call processing system AB102. CALL SETUP MESSAGE #1BA302 can be received directly from a subscriber AA114, or can be sentvia a customer Gateway BA112 to perform any necessary protocolconversions. This is described above in step BA204.

Based on the information contained in CALL SETUP MESSAGE #1 BA302, CMPBA102 determines whether the call is a new telephone call or a callalready existing in call processing system AB102. This determination ismade based on whether there is a callhandle BA305 for the call. Thisoccurs in a step DE104. If CALL SETUP MESSAGE #1 BA302 references a newcall, CMP BA102 determines whether the call requires operatorassistance.

For a new call, CMP BA102 performs a call ID look-up in a step DE106.Call ID look-up provides call parameters BA308 to CMP BA102. In oneembodiment, this is performed as discussed above with reference to stepBA208 in FIG. 12.

In a step DE108, when call parameters BA308 are received by CMP BA102,CMP BA102 creates an initial BIR EE322 (illustrated in FIG. 51). BIREE322 is used to store call information that can be used for billingpurposes.

In a step DE110, CMP BA102 determines a callhandle BA305 for the call.In one embodiment, to determine callhandle BA305, CMP BA102 sends GETCALLHANDLE REQUEST BA304 to BSRVR BA108 as discussed above withreference to FIG. 12. When GET CALLHANDLE REQUEST BA304 is sent to BSRVRBA108, CMP BA102 also sends part of BIR EE322 to BSRVR BA108. In thisembodiment, BSRVR BA108 creates callhandle BA305 in response to GETCALLHANDLE MESSAGE BA304, stores BIR EE322 (referenced by callhandleBA305) and sends callhandle BA305 to CMP BA102 in a callhandle messageBA306.

In a step DE112, CMP BA102 determines a call type based on callparameters BA308. CMP BA102 then determines whether an operator consoleAB108 is required, as illustrated by decision block DE113.

In a step DE114, if the call requires operator assistance, CMP BA102allocates an operator console AB108 to handle the call. In oneembodiment, this allocation is performed using CRD BA106. Thisembodiment is discussed above with reference to FIG. 12 in steps BA210and BA212.

In a step BA210, CMP BA102 sends an ALLOCATE CONSOLE MESSAGE BA310 toCRD BA106. This message includes the call type and device type asdetermined from call parameters BA308. This information is used by CRDBA106 to allocate a specific console AB108 to handle the call.

In a step BA212, CONSOLE ALLOCATE RESPONSE MESSAGE BA312 returned fromCRD BA106 provides CMP BA102 with the identity of the console AB108chosen to handle the call.

In a step DE116, CMP BA102 modifies BIR EE322 for the call. In oneembodiment, this is accomplished by CMP BA102 sending a MODIFY BIRMESSAGE DD102 to BSRVR BA108. MODIFY BIR MESSAGE DG102 instructs BSRVRBA108 to modify the BIR EE322 for that call (identified by callhandleBA305) to include the identification of the operator console AB108allocated to the call. In this manner, BSRVR BA108 can handle multiplecalls, each having an individual callhandle BA305, and each assigned toan individual operator console AB108.

In one embodiment, CMP BA102 receives a MODIFY BIR MESSAGE RESPONSEDG104 from BSRVR BA108. MODIFY BIR MESSAGE RESPONSE DG104 indicates thatBIR EE322 for that call has been modified.

In a step DE118, CMP BA102 sets up the call. One embodiment of this callsetup process is discussed above with reference to steps BA214 throughsteps BC112 in FIGS. 12 and 13. In this embodiment, a series of callsetup messages are generated by CMP BA102 and sent to configure matrixswitch AB106 to route the call to the destination. In the case of anoperator-assisted call, the destination is the operator consoleallocated in step DE114. Call setup can also include informing customerswitch AA104 as to the status of the call.

In one embodiment, matrix switch AB106 generates and provides to CMPBA102 a message indicating that the call is routed to the terminatingnumber (in this case to the allocated operator console AB108). Forsystems using SS7 signalling, this message is an IAM message. Hostgateway BA110 can be used to convert the IAM message into a CALL SETUPMESSAGE #3 DG110 for CMP BA102. In a step DE120, CMP BA102 receives CALLSETUP MESSAGE #3 DG110 for the call in transit. Call setup message DG110includes a circuit ID code indicating the call route is set up in matrixswitch AB106. In a step DE104 CMP BA102 determines that CALL SETUPMESSAGE #3 DG110 is for an existing call.

In a step DF122, CMP BA102 updates BIR EE322 with the circuitidentification. In one embodiment, this is accomplished by sending a GETCALL TYPE MESSAGE DG112 to BSRVR BA108. In this embodiment, CMP BA102provides BSRVR BA108 with the circuit identification code in matrixswitch AB106 and the callhandle BA305 for the call. BSRVR BA108 updatesthe BIR EE322 for the call to include this new information. In response,CMP BA102 receives a GET CALL TYPE RESPONSE DG114 from BSRVR BA108.DG114 includes the updated BIR EE322 with all the changes.

In a step DF124, CMP BA102 sends a NEW CALL MESSAGE DG116 to theoperator console AB108 allocated to handle the call. In this step, theallocated operator console is informed that it may accept the call frommatrix switch AB106 for processing. In one embodiment, the allocatedoperator console AB108 sends a response back to CMP BA102 indicatingthat NEW CALL MESSAGE DG118 and the call are received by the operatorconsole AB108.

Finally, in a step DF126, CMP BA102 sends CALL SETUP #3 response DG118to host switch gateway BA110 indicating that operator console AB108 canstart processing the call.

2.2.3 Action Records

In one embodiment, CMP BA102 processes messages using message managerDB102 and a set of action records DB122. Message manager DB102 maintainsa table of all network requests or messages the CMP BA102 could receiveand a Callback Initialization Function that initiates the processing ofeach network message. Each function call is accomplished using an actionrecord which indicates the actual code to execute to begin processingthe network message. In addition, CMP BA102 maintains a list of actionrecords. These action records define a single task and can be chainedtogether to perform a series of tasks that must be executed to fulfillthe network request. When an action record chain is initialized, messagemanager DB102 takes control of executing the sequence of actions untilthe end of the sequence is reached. The next action to be performed inthe sequence is based on a Return Type and a Return Code received in thecurrent action record.

Return type can be either a Function Return or a Network Return. AFunction Return indicates an action that can be executed immediatelybecause the next action record in the sequence contains a function call.A Network Return indicates an action that is delayed because a responsemust be received over the LAN. An action record may contain any numberof possible Function Returns or Network Returns. Each Function Returnand Network Return is further identified with a Return Code. For eachfunction Return Code and network Return Code there is a pointer toindicate the next action record to move to when the current action iscompleted. The application will move to the next action record in thechain based on the Return Type and Return Code received in the currentaction.

Default Network Return Code DM114 and its nest action pointer DM116define the next action record in the sequence for this network ReturnCode.

FIG. 33 is a diagram illustrating an example of an action record.Referring now to FIG. 33, in this action record DM100, a Number ofFunction Returns DM106 indicates that there are three possible FunctionReturn codes, including the Default DM110 contained in this actionrecord. DM118 and DM120 indicate the two possible Function Return Codesand their Next Action Pointer. Action Record DM108 indicates that thereare four possible Network Return Codes, including the Default DM114contained in this action record. DM122, DM124, and DM126 indicate thethree possible Network Return Codes and their Net Action Pointer.

The manner in which Message Manager DB102 uses Action Records to fulfillnetwork requests is now described. FIG. 34, which comprises FIGS. 35 and36, is an operational flow diagram illustrating the process by whichMessage Manager DB102 uses Action Records DM100 to process a networkrequest.

Referring now to FIG. 35 CMP BA102 receives a network request in a stepDM202. Message Manager DB102 looks in its table to find the CallbackInitialization Function that initiates the processing of the networkmessage received and the Action Record DM100 at which to beginprocessing the message. In a step DM203, Message Manager DB102 executesthe action pointed to by the current Action Record.

In a step DM204 Message Manager DB102 receives a response containing anaction Return Type and an action Return Code. Depending upon the actionReturn Type and the action Return Code received when the current actionis completed, Message Manager DB102 moves to the next action record asdetermined by the Next Action Pointer DM112. Message Manager DB102 looksat the response to determine if the response is a Function or a Networktype in step DM205.

If the response received is a Function response, in a step DM206,Message Manager DB102 looks at the Return Code received to determine ifit matches any of the Return Codes contained in the current ActionRecord DM100. If a match is found, Message Manager DB102 moves to stepDM208 and executes the next action record indicated by the Next ActionPointer DM118 associated with the Return Code found. Message ManagerDB102 continues with this process of executing the current Action RecordDM100, reading the Return Type and Return Code and moving to the nextAction Record DM100 until no more records can be found.

If no match is found for the Return Code DM100 in step DM206, MessageManager DB102 looks at the current action record for a Default FunctionReturn Code DM110 in a step DM210. If the Default exists, MessageManager DB102 moves to step DM212 and executes the next action recordindicated by the Next Action Pointer DM112 associated with the DefaultFunction Return Code DM110. If in a step DM210 the Action Record doesnot contain any Function Returns, the Number Function Returns DM108value in the action record DM100 is equal to zero and processing of thenetwork message received by CMP BA102 is completed.

If step DM205 indicates that the response received upon execution of theAction Record DM100 was not a function Response Type it is a NetworkResponse Type, and the operation continues at a step DM320. Because allresponse types will always be either a Function or Network ResponseType, FIG. 35 details processing of a Network Response Type.

Referring now to FIG. 36, in step DM320, the response received is aNetwork response so Message Manager DB102 looks at the Return Codereceived to determine if it matches any of the Return Codes contained inthe current action record DM100. If a match is found, message managerDB102 moves to step DM322 and executes the next action record DM100indicated by the Next Action Pointer associated with the Return Codefound. Message manager DB102 continues with this process of executingthe current action record DM100, reading the Return Type and Return Codeand moving to the next action record DM100 until no more records arefound.

If no match is found for the Return Code received in step DM320, (i.e.if no more action records DM100 are found), Message Manager DB102 looksat the current Action Record in a step DM324 for a Default NetworkReturn Code DM114. If the Default Network Return Code DM114 exists,Message Manager DB102 moves to step DM326 and executes the next actionrecord DM100 indicated by the Next Action Pointer DM116 associated withthe Default Return Code. If the Action Record does not contain anyNetwork Returns, the Number of Network Returns DM108 value in the actionrecord is equal to zero and processing of the network message receivedby CMP BA102 is completed.

Using Action Records to process network requests allows that applicationto be easily reconfigured to incorporate new network messages andfeatures. Action Records are also easily read for trouble shooting ofthe code itself. By looking at the action record chain or sequence areader can quickly understand the working of the network request thatinvokes it.

2.2.4 Number Translation or Direct-Dial Long-Distance call

As discussed above with reference to FIG. 31, CMP BA102 determineswhether the call received by call processing system AB102 requiresoperator assistance. As indicated by decision block DE113 (illustratedin FIG. 31) if the call does requires operator assistance, an operatorconsole AB108 is allocated to handle the call in step DE114. However, ifthe call does not require operator assistance, it can be completedwithout the assistance of an operator console AB108. Two examples ofwhen this may occur is when the call requires an 800 translation, orwhen the call is simple a direct-dial long-distance (1+) call. Themanner in which these types of calls are completed is now described withreference to FIG. 37.

FIG. 37 is an operational flow diagram illustrating the manner in whichcalls that do not require operator assistance are completed. Referringnow to FIG. 37, in a step DH112, CMP BA102 determines the correct numberplan area (NPA) for the call. An NPA is commonly known as an area codethat designates a toll center within the United States, Canada andMexico. In some embodiments, it may not be necessary to determine theNPA depending on where call processing system AB102 is implemented andthe types of calls it is designed to handle.

In one embodiment, the NPA is determined by sending an NPA look uprequest to DBS BA104. In response, DBS BA104 determines the correct NPAand returns a response to CMP BA102 indicating the NPA.

In a step DH116, the terminating NPA is determined by CMP BA102. This isaccomplished in a manner similar to the manner in which CMP BA102determined the originating NPA in step DH112. CMP BA102 uses theoriginating and the terminating NPAs to determine the routing for thecall. At this time the call can be set up. Additionally the NPAs can beused to determine time offsets between the origin and termination, todetermine whether daylight-savings time is in effect, to determine thegeographic location of the origin and termination, and to determine alocal access transport area (LATA). These items correspond to fields inthe BIR EE322 (Billing Information Record).

In a step DH117, CMP BA102 determines whether the call requires a numbertranslation. An example of a number translation is a 800 numbertranslation or a 900 number translation.

If the call requires a number translation, the translation is performedin step DH118. In one embodiment a translation look-up request is sentto DBS BA104. DBS BA104 receives the request and looks up the correctnumber in a translation database. This translated number is provided toCMP BA102 as the correct terminating number for the call. If the call isa direct-dial long-distance call that does not require operatorassistance, step DH118 is bypassed as indicated by flow line DH162.

In a step DH119, CMP BA102 does a termination look-up to determine therouting of the call and verify the terminating numbers.

In a step DH120, CMP BA102 sends CALL SET UP MESSAGE BA314 to set up thecall in matrix switch AB106. As discussed above, in one embodiment, CALLSET UP MESSAGE BA314 is sent via host gateway BA110 which converts it toa message type compatible with that of matrix switch AB106. The effectof this step DH120 is to set up the routing of the call in matrix switchAB106.

When matrix switch AB106 acknowledges that it has received the messageand is set up for the call, CMP BA102 sends a CALL SET UP RESPONSE BA330to customer switch AA104. Again, in one embodiment, this message is sentvia customer gateway BA112. At this time, the call is set up to becompleted to the terminating party.

In a step DH126, CMP BA102 sends a request to matrix switch AB106 tocomplete the call to the terminating party. This request can be sent viahost gateway BA110.

2.2.5 Call Release From an Operator Console AB108

When a call is being processed by an operator console AB108, it couldhave more than one audio leg. For example, a collect call has two audiochannels AB122: one for the originating party and one for theterminating party (to verify that charges are accepted). If the consolehas to release a call during processing, it first releases theterminator, and then the originator.

The manner in which a call is released from a console is now described.FIG. 38, which comprises FIGS. 39 and 40, is an operational flow diagramillustrating the manner in which CMP BA102 releases a call from anoperator console AB108. Referring now to FIG. 39, when operator consoleAB108 determines that it is to release a call it sends a release networkrequest message to CMP BA102. This message is received by CMP BA102 in astep DJ104.

In a step DJ106, CMP BA102 determines whether the call leg beingreleased is in an originating leg, or whether it is a terminating orauxiliary leg. If it is an originating leg the operation continues in astep DJ110. If the call leg is a terminating or auxiliary leg, theoperation continues in a step DJ212.

For calls in the originating leg, in a step DJ110, CMP BA102 stops theinbound timing of the call. In one embodiment this is accomplished bysending a request to stop the inbound timing to BSRVR BA108. Uponreceipt of this message, BSRVR BA108 stops the inbound wholesale networktiming. BSRVR BA108 also sends a response to CMP BA102 indicating thatthe inbound wholesale timing has been stopped.

In a step DJ114, when CMP BA102 receives the response from BSRVR BA108indicating that the inbound timing is stopped, CMP BA102 updates the BIREE322 for the call. This is accomplished by sending in a request toBSRVR BA108 to update the BIR EE322. BSRVR BA108 indicates that the BIRis updated by sending a response to CMP BA102.

Upon receipt of this response, CMP BA102 releases the call in a stepDJ118. In one embodiment, this is accomplished by sending a call releaserequest to the host gateway informing the host gateway that the operatorconsole AB108 is releasing the call. Host gateway BA110 reformats thismessage where necessary and forwards it to matrix switch AB106indicating that the console AB108 is releasing the call.

In a step DJ120, the CIC is deleted from BSRVR BA108. In one embodiment,this is accomplished by CMP BA102 sending a request to BSRVR BA108 todelete the CIC. For every call, BSRVR BA108 maintains callhandle BA305,CICs (audio circuits identifiers), a BIR EE322, and call and networktiming information. One condition is that BSRVR BA108 ship BIR EE322 tobilling system AG108 for rating when the billing server has no more CICsassociated with a call. For this reason, BSRVR BA108 is informed by CMPBA102 when an audio circuit is added or deleted. Circuits are added uponcall set up and origination and deleted upon call releases andcompletes. Because operator console AB108 is releasing the call in thisscenario, CMP BA102 deletes the CIC in step DJ120.

In a step DJ124, CMP BA102 frees operator console AB108 from the call.In one embodiment, this is accomplished by sending a request to CRDBA106 to free the console. In response, CRD BA106 releases the consoleAB108 from the call. Freeing operator console AB108 with CRD BA108 makesthat particular console AB108 available for handling another call. Asdiscussed above, CRD BA108 keeps track of available operator consolesAB108. In a step DJ208, CMP BA102 releases operator console AB108.

If the call being released is for a terminating or auxiliary leg, in astep JD212 the outbound timing of the call is stopped. This isaccomplished by notifying BSRVR BA108 to stop outbound timing for thecall. BSRVR BA108 in response, stops outbound wholesale network timingand provides a response to CMP BA102 indicating such.

When CMP BA102 receives the response from BSRVR BA108 indicating thatthe inbound timing is stopped, CMP BA102 updates the BIR EE322 for thecall. This is accomplished by sending a request to BSRVR BA108 to updatethe BIR EE322. BSRVR BA108 indicates that the BIR is updated by sendinga response to CMP BA102.

Upon receipt of this response, CMP BA102 releases the call in a stepDJ216. In one embodiment, this is accomplished by sending a call releaserequest to the host gateway informing the host gateway that the call isbeing released. Host gateway BA110 reformats this message wherenecessary and forwards it to matrix switch AB106 indicating that theconsole AB108 is releasing the call.

In a step DJ220, the CIC is deleted from BSRVR BA108. In one embodiment,this is accomplished by CMP BA102 sending a request to BSRVR BA108 todelete the CIC.

2.2.6 Call Release From A Switch

FIG. 41, which comprises FIGS. 42 through 45 is an operational flowdiagram illustrating the process of releasing a call when a user AA106terminates the call. Referring now to FIG. 42, if originating userAA106A or terminating user AA106B terminates the call (for example hangsup the phone) customer switch AA104 sends a request to release the callto NCP AB104. In one embodiment, this is received by customer gatewayBA112. Customer gateway BA112 converts this message to the formatrecognized by CMP BA102 and forwards it to CMP BA102. This isillustrated in the step DK104.

In a step DK108, CMP BA102 determines whether the console identifier isvalid. In one embodiment CMP BA102 determines whether an INET addressand socket number are valid. If they are not valid, in a step DK302 thecall is released at customer switch AA104.

If, on the other hand, the console identification is valid thisindicates that the request to release the call came from the matrixswitch AB106 via host gateway BA10. In this case, in the step DK112, thenetwork is terminating via operator console AB108. To accomplish this,CMP BA102 sends a terminating request to operator console AB108.

If, in a step DK116, a return code received by operator console AB108 inresponse to the terminate request is valid, the call is released atmatrix switch AB106. This is accomplished by sending a call releaseresponse to matrix switch AB106 via host gateway BA110. This isillustrated in a step DK120. A response is then sent to customer switchAA104 via customer gateway BA112 indicating the call is released.

If, on the other hand, the return code is invalid, CMP BA102 freesoperator console AB108 in a step DK202. This is accomplished in oneembodiment by sending a request to CRD BA106, to free the operatorconsole AB108 and make it available to handle other calls.

In a step DK208, the CIC is deleted at the BSRVR BA108 and in a stepDK210 the call release response is sent to the matrix switch AB106. Aresponse is then sent to customer switch AA104 via customer gatewayBA112 indicating the call is released.

If console address identification was invalid in step DK108 the callrelease request was received from customer switch AA104. In this case,the call is released in step DK302. In one embodiment, this isaccomplished by sending a request to matrix switch AB106 (via hostgateway BA110, if required) to release the call.

In a step DK304, CMP BA102 determines whether the call being released isqueued at CRD BA106. If it is not being queued at CRD BA106, the CIC isdeleted at BSRVR BA108 and a call release response is sent to customerswitch AA104 via customer gateway BA112. This is illustrated in stepsDK306 and DK308.

If, on the other hand, the call being released is queued at CRD BA106,the call is freed from the queue. In one embodiment, this isaccomplished by sending a request to CRD BA106 to free the queued call.This occurs in a step DK404.

In a step DK408, BIR EE322 is modified at BSRVR BA108 to change the callqueue time. CRD BA106 maintains the duration of queued calls.

In a step DK412, BIR EE322 is modified at BSRVR BA108 to modify thetermination method of the call. This is accomplished by sending arequest to BSRVR BA108.

In a step DK416 CMP BA102 deletes the CIC in BSRVR BA108 and in a stepDK418 sent CMP BA102 releases the call by sending a call releaseresponse to customer switch AA104 via customer gateway BA112.

2.2.7 Call Set-up For an Operator-Console-Originated Call

The manner in which CMP BA102 sets up a call when an operator consoleoriginates a call is now described. FIG. 46 is an operational flowdiagram illustrating the manner in which CMP BA102 sets up a calloriginated from an operator console AB108. Referring now to FIG. 46,when an operator console AB108 originates a call, it sends an originaterequest to CMP BA102. Operator console AB108 may originate a call, whenmaking a collect call to verify that the called party will accept thecharges, or when calling a customer to tell the time and charges of acall. In a step DL104, the request to originate the call is received byCMP BA102.

In a step DL108, CMP BA102 determines whether callhandle BA305 is validfor the call. If it is valid, the operation continues in a step DL120.If callhandle BA305 is not valid, in a step DL112, CMP BA102 sends a GETCALLHANDLE REQUEST BA304 to BSRVR BA108 to assign a valid callhandleBA305 to the call.

In a step DL116, when CMP BA102 receives callhandle BA305 from BSRVRBA108, it sends a request to CRD BA106 to originate the call. Uponreceipt of this request, CRD BA106 marks the console AB108 as busy.

In a step DL120, CMP BA102 sets up the call at matrix switch AB106. In astep DL122 CMP BA102 adds a CIC in BSRVR BA108. In one embodiment, thisis accomplished by sending a request to BSRVR BA108 to add the CIC forthe call.

In a step DL124, CMP BA102 informs operator console AB108 that the callis being originated.

FIG. 47 is an operational flow diagram illustrating what occurs when anoperator console originates a call. When an operator console AB108originates a call, a command is sent to matrix switch AB106 to route thecall. Matrix switch AB106 provides a response to CMP BA102. In oneembodiment, this response is translated by host gateway BA110 to a CALLSETUP REQUEST message to CMP BA102. CMPBA102 receives CALL SET UPREQUEST message in a step DL204.

In a step DL208, CMP BA102 sends an add CIC request to BSRVR BA108. Thisrequest contains the switch and circuit ID information to be containedin the CIC. In a step DL212, CMP BA102 sets up the call at customerswitch AA104. This is accomplished by sending a call set up request viacustomer gateway BA112. In a step DL216, a call set up response isreceived from customer switch AA104 via customer gateway BA112. Aresponse is forwarded by CMP BA102 to matrix switch AB106 via hostgateway BA110 where required.

2.2.8 Call Completion From an Operator Console

The manner in which a call is completed from an operator console AB108is now described. FIG. 48 is an operational flow diagram illustratingthe completion of a call from an operator console AB108. Referring nowto FIG. 48, in a step DL304, operator console AB108 sends a request toCMP BA102 that the call be completed through the network. CMP BA102receives this request from the operator console AB108.

To determine routing for the call, CMP BA102 performs a termination lookup. In one embodiment, this is accomplished by sending the request to atermination database via a database server (such as DBS BA104). In thisstep, optimum routing for the call is determined.

In a step DL312, CMP BA104 sends a request to billing server BA108 toupdate the BIR EE322 for the call. Additionally, CMP BA102 instructsbilling server BA108 to delete the CIC for the call in the consoleAB108.

In a step DL316, CMP BA102 initiates call completion with matrix switchAB106. In one embodiment, this is accomplished by sending a request tocomplete the call to matrix switch AB106 via host gateway BA110 whererequired. Also, in a step DL318, CMP BA102 instructs CRD BA106 to freethe operator console AB108 from the call. This allows that operatorconsole AB108 to handle other calls.

In a step DL322, CMP BA102 sends a response to the operator consoleAB108 indicating that the call can be completed.

2.2.9 Call Transfer From all Operator Console

The manner in which a call is transferred from an operator console AB108is now described. FIG. 49 is an operational flow diagram illustratingcall transfer from an operator AP108. Referring now to FIG. 49, when anoperator AB108 transfers a call, it sends a request to CMP BA102.Situations in which a call is transferred could be a transfer from a VRUAB134 to a manual operator console AB1132, or a transfer from a manualoperator console AB132 to a customer service console AB136. In a stepDL404, CMP BA102 receives the request to transfer the call from operatorconsole AB108.

Because the call is being transferred to another operator console AB108,a new operator console AB108 must be allocated. Therefore, in a stepDM408, CMP BA102 sends an allocate console message BA310 to CRD BA106.In response, CRD BA106 examines a console usage table BA374 to determinewhich operator consoles AB108 are available to handle the transferredcall. When allocated, in a step DL412, CMP BA102 sends a request tomatrix switch AB106 to transfer the call. In one embodiment, this isaccomplished by sending a message to host gateway BA110 which in turnsends an FAR message to matrix switch AB106 to transfer the call.

In a step DL416, CMP BA102 updates BIR EE322 in billing server BA108. Ina step DL420, CMP BA102 deletes the CIC in billing server BA108 for thecircuit to the requesting operator console AB108.

In a step DL424, CMP BA102 sends a message to CRD BA106 to free theoperator console AB108 originally allocated to handle the call. In astep DL428, CMP BA104 responds to the requesting console AB108 thetransfer is completed.

2.3 BILLING SERVER 2.3.1 Billing Server Introduction

The BSRVR BA108 has five main functions. The first function of BSRVRBA108 is to hold all information on a call currently in progress. Thisis accomplished by assigning every new call a unique callhandle toidentify the call.

The second main function of BSRVR BA108 is to time the connected callwhile it is in progress.

The third main function of BSRVR BA108 is to inform the Real Time FraudDetection and Prevention System (AG112) the time at which a call isstarted and the time at which retail timing is stopped. The real timefraud detection and prevention system (AG112) is also periodicallyupdated on calls which last an unusually long time.

The fourth main function of BSRVR BA108 is to keep track of the callduration for all usage cap type calls, such as debit card calls, whichare currently being timed for retail billing. When a warning period ormaximum time is reached, CMP BA102 is notified.

The fifth main function of BSRVR BA108 is to transfer a BIR (EE322) ofthe completed call to the Billing System AG108.

Measures can be implemented to insure that no loss of data occurs. Thesemeasures include multiple Billing Servers and locally kept BIR files forredundancy.

BSRVR BA108 is now described with reference to the components with whichit interfaces. FIG. 50 is a block diagram illustrating the componentsthat communicate with one another in normal operation of BSRVR BA108.

Referring now to FIG. 50, A secondary BSRVR BA108B is provided as abackup to a primary BSRVR BA108A. This provides redundancy. In oneembodiment, the result of every message sent to primary BSRVR BA108A ismirrored in secondary BSRVR BA108B. Additionally, the result of messagetraffic internal to primary BSRVR BA108A, and all writes to files andtables internal to primary BSRVR BA108A are mirrored in secondary BSRVRBA108B.

A high-level operational concept of BSRVR BA108 is now described. FIG.51 is a data flow diagram illustrating messages sent during BSRVR BA108operations. FIG. 52 is an operational flow diagram illustrating theprocess followed by BSRVR BA108 when a call is received by callprocessing system AB102. Referring now to FIGS. 51 and 52, in a stepEE402, BSRVR BA108 receives a callhandle request message BA304 from CMPBA102.

In a step EE404, BSRVR BA108 assigns a callhandle BA305 to the call. Inone embodiment, this is accomplished by incrementing the last call ID byone and ORing (Boolean) this value with the value of an NCPID EG126 andthe BSRVRID EG124 (illustrated in FIG. 55).

In a step EE406, BSRVR BA108 creates a BIR EE322 for the call. BIR EE322is used to facilitate the real-time rating service and real-time billingservice discussed in their two respective sections of this document.

In a step EE412, BSRVR BA108 sends callhandle BA305 to CMP BA102.

2.3.2 Billing Server Architecture

A representative architecture of BSRVR BA108 will now be presented anddescribed. It should be noted that this architecture is presented by wayof example only and is not intended to limit BSRVR BA108 to thisembodiment. Numerous alternative architectures could be chosen toimplement BSRVR BA108.

FIG. 53 is a block diagram illustrating the three major components ofBSRVR BA108 according to one embodiment. FIG. 54 is a block diagramillustrating the billing architecture of BSRVR BA108 in one embodiment.Referring now to FIGS. 53 and 54, BSRVR BA108 comprises three maincomponents. These are procedure kernels EA102, BSRVR files EA104, andBSRVR memory EA106.

In one embodiment there are ten procedure kernels EA102, four billingserver files EA104, and four billing server memories EA106, asillustrated in FIG. 54.

2.3.2.1 Billing Server Files

Turning now to FIG. 54, billing server files EA104 are now brieflydescribed.

2.3.2.1.1 Callhandle File

Callhandle file EB142 is used to store a single instance of the mostrecently assigned callhandle BA305. Callhandle file EB142 is maintainedso that each BSRVR BA108 can assign a unique callhandle BA305 to eachcall. To guarantee that callhandle assigned are unique, the mostrecently assigned callhandle BA305 is maintained in callhandle fileEB142. Callhandle file EB142 is updated when each new callhandle BA305is assigned and when BSRVR BA108 is shut down. Upon restart of BSRVRBA108, the most recently assigned callhandle BA305 is read fromcallhandle file EB142.

Callhandle BA305 is a unique data tag given to every new call that isstarted. No two calls ever have the same callhandle BA305. In oneembodiment, callhandle BA305 is 32-bits in length. FIG. 55 illustratesthe structure of callhandle BA305 in this embodiment. Referring now toFIG. 55, callhandle BA305 comprises three fields. A first field is a27-bit incremental counter EG102 that is used to uniquely identifycallhandle BA305. For each new callhandle BA305 assigned, incrementalcounter EG102 is incremented by one. In this manner, each callhandleBA305 assigned is unique.

One bit of callhandle BA305 is designated as a billing server ID EG124.Billing server ID EG124 indicates which BSRVR BA108 (for example,primary BSRVR BA108A or redundant BSRVR BA108B) assigned this particularcallhandle BA305 to the call.

An NCP ID field EG126 is used to identify the NCP AB102 that assignedthe callhandle BA305. Thus in call processing systems implemented withmultiple NCPs AB102, the origination of each callhandle BA305 can betraced to a single NCP AB102.

2.3.2.1.2 BIR File

The purpose of BIR file EB144 is to act as a buffer for all BIRs EE322sent to billing system AG108.

A representative structure of BIR file EB144 in one embodiment is nowdescribed. FIG. 56 is a diagram illustrating the structure of BIR fileEB144 in one embodiment.

Turning now to FIG. 56, the first record of the BIR File EB144 containsa header EG202 containing information such as how many records can bekept in BIR file EB144, current number in the file, the position to lastone inserted, and the number of records currently waiting for responsesfrom billing system AG108. BIR File EB144 is a circular file and olderBIRs are eventually overwritten by new BIRs.

When the Billing Server is started, the BIR File is scanned and allrecords that are marked waiting for responses are copied into the BIRStack file for retry to billing system AG108. This is to insure that allBIRs will be rated and the call billed.

2.3.2.1.3 BIR Stack File

BIR stack file EB146 is a temporary storage location for all BIRs EE322that were unsuccessfully sent to billing system AG108.

2.3.2.1.4 Fraud Queue File

Fraud queue file EB148 temporarily holds all fraud requests when theyare unsuccessfully sent to fraud detection and prevention system(AG112).

2.3.2.2 Procedures

The important procedures EA102 of BSRVR BA108 are now described.

2.3.2.2.1 Main Root Procedure Kernel

Main root procedure kernel EB102 is responsible for starting BSRVRBA108. The operation followed by main root procedure kernel EB102 is nowdescribed. FIG. 58 is an operational flow diagram illustrating the stepsfollowed by main root procedure kernel EB102 during start-up, operationand cleanup of BSRVR BA108.

Referring now to FIGS. 54 and 58, in a step EC102, main root procedurekernel EB102 initializes the remaining procedure kernels EA102. Theprocedure kernels EA102 initialized are a client interface (CLIF)procedure kernel EB104, a log procedure kernel EB106, an update mirrorprocedure kernel EB108, a Receive Procedure kernel EB110, a send BIRprocedure kernel EB112, a BIR stack procedure kernel EB114, a watchdogprocedure kernel EB116, a debit procedure kernel EB118, and a fraudprocedure kernel EB120.

In a step EC104, main root procedure kernel EA102 allocates a portion ofshared memory (reference number) for itself as billing server memoryEA106. In this step, main root procedure kernel EB102 also initializesBSRVR BA108 call stats. In one embodiment, call statistics areinitialized to zero. Several call stastics are kept in shared memory.These can include the total number of BIRs EE322 successfully sent tobilling system AG108, the current number of BIRs EE322 in BIR stack fileEB106, the total number of reoriginations, and the number of callscurrently being timed.

In a step EC106, main root procedure kernel EB102 sets global timevariables to show the current time zone and any offset from GreenwichMean Time (GMT).

In a step EC108, main root procedure kernel EB102 creates andinitializes the needed tables in billing server memory EA106. Thesetables include a callhandle table EB132, a console table EB134, a debittable EB136, and a call track table EB138.

In a step EC110, main root procedure kernel EB102 creates and/orinitializes billing server files EA104. These files include a callhandlefile EB142, a BIR file EB144, a BIR stack file EB146, and a fraud queuefile EB148.

The above-described steps EB102 through EC10 are the steps that mainroot procedure kernel EB102 follows in creating BSRVR BA108. Inoperation, main root procedure kernel EB102 checks BIR file EB144 forany records to which there has not been a response. This occurs in astep EC112. If any BIR records EE322 have not been responded to, theseBIR records are copied to BIR stack file EB146 for later transmission tobilling system AG108. This occurs in a step EC114.

In a step EC116, main root procedure kernel EB102 continues until arequest to end the program is received from a user or from the system.The most important function during this looping is to check a messagequeue in the procedure kernel. If a message is in message queue, it ispassed to the appropriate procedure kernel for processing.

When a request to end the program is detected, main root procedurekernel EB102 is responsible for cleanup operations. These areillustrated in steps EC118 through EC226. In a step EC118, main rootprocedure kernel EB102 posts a message to error box AG104 indicating thereason the application was terminated. In a step EC220, main rootprocedure kernel EB102 clears a server stat memory. Server stat memoryis shared system memory which can be accessed by both BSRVR BA108 andserver monitor FA212 and used to communicate process status (illustratedin FIG. 69).

In a step EC222, main root procedure kernel EB102 returns shared memoryto call processing system AB102 for use by other processes.

In a step EC224, main root procedure kernel EB102 saves the most recentcallhandle BA305 to callhandle file EB142. This is done so that whenBSRVR BA108 is restarted, assignment of a unique callhandle BA305 to anincoming call can be performed in sequence from where the lastassignment was made.

In a step EC226, procedure kernels EA102 are deactivated.

2.3.2.2.2 Client Interface (CLIF) Procedure

CLIF procedure EB104 is created by main root procedure kernel EB102.When created, CLIF procedure EB104 searches for a configuration fileSA404 (illustrated on FIG. 137). If this configuration is not found,BSRVR BA108 logs an error to error box AG104 and exits. Otherwise, CLIFprocedure EB104 runs in the background. CLIF EB104 enables otherprocedure kernels EA102 to send requests over LAN BA122 and receiveresponses from LAN BA122. CLIF procedure EB104 is described in moredetail in the Client Interface Section of this document. CLIF procedureEB104 is not necessarily unique to BSRVR BA108.

Log procedure EB106 sends a login message to log box AG106. This occurswhen log procedure EB106 is created.

Also at initialization, log procedure EB106 registers with CLIFprocedure EB104 to receive a billing server terminate message.

When log procedure EB106 receives terminate message, a logout request issent to log box AG106 on LAN BA122.

The login message contains the time at which the application wasstarted, the name of the application, and the version number. The logoutmessage contains the time at which the application was terminated, thename of the application, and the version number.

2.3.2.2.3 Update Mirror Procedure

Update mirror procedure EB108 is used to help keep both primary billingserver EB108 and secondary billing server EB108 redundancy informationand statuses identical. Upon initialization, update mirror procedureEB108 registers with CLIF procedure EB104 to receive a PUT messageED128, a mirror message, and a UP message.

UP message indicates to update mirror procedure EB108 that the redundantBSRVR BA108B is running and requesting all current call statusinformation. When update mirror procedure EB108 receives UP message, itsearches callhandle table EB132. For every current status found incallhandle table EB132, update mirror procedure EB108 sends a PUTmessage to redundant BSRVR BA108B to update mirror procedure EB108 inthe redundant BSRVR BA108B. This action ensures that data in both BSRVRsBA108A and BA108B are redundant.

When update mirror procedure EB108 of redundant BSRVR BA108B receivesPUT message, it searches callhandle table EB132 of redundant BSRVRBA108B to see if the status information is there. If the statusinformation is there, it is updated. If the status information is not incallhandle table EB132, it is added.

During normal operations, the mirror message is sent from primary BSRVRBA108A to redundant BSRVR BA108B. Mirror message causes redundant BSRVRBA108B to perform the same updates to billing server files EA104 andbilling server memory EA106 as is performed by primary BSRVR BA108A.This ensures that redundant BSRVR BA108B is completely redundant withprimary BSRVR BA108A during normal operations.

2.3.2.2.4 Receive Procedure

Receive Procedure EB110 receives all messages coming from CMP BA102. Themanner in which Receive Procedure EB110 operates will now be described.FIG. 60 is a data flow diagram illustrating data flow between ReceiveProcedure EB110, procedure kernels EA102, billing server files EA104,and billing server memory EA106.

Referring now to FIGS. 60, 54, and 14, the operation of ReceiveProcedure EB110 will now be described. This description is provided interms of an example. This is an example of the operations performed whenBSRVR BA108 receives a GET CALLHANDLE REQUEST MESSAGE BA304 from CMPBA102. FIG. 61 is an operational flow diagram illustrating the manner inwhich a receive process responds to a GET CALLHANDLE REQUEST MESSAGEBA304 from CMP BA102.

In a step EK102, BSRVR BA108 receives GET CALLHANDLE REQUEST MESSAGEBA304 from CMP BA102. More specifically, Receive Procedure EB110receives GET CALLHANDLE REQUEST MESSAGE BA304. As described above, GETCALLHANDLE REQUEST MESSAGE BA304 is a request from CMP BA102 to assign anew callhandle BA305 to a new call.

In a step EK104, Receive Procedure EB110 accesses callhandle file EB142to build a new callhandle BA305.

In a step EK106, Receive Procedure EB110 updates callhandle memory EB132with the latest callhandle BA305 retrieved. Request messages received byBSRVR BA108 may include a callhandle BA305 referencing the call forwhich the request is made. To enable handling a high number of messagesand to provide speed when looking up call information using a callhandleBA305, callhandle table EB132 is utilized.

Callhandle table EB132 is a table that stores callhandle BA305 for eachcall. Callhandle BA305 stored in callhandle table EB132 is a pointer toa storage location for information about the call. Callhandle BA305 isstored in callhandle table EB132 as illustrated in FIG. 54. Eachcallhandle BA305 points to storage locations for call information, theBIR EE322 of the call, the call circuits, and a device array for thecall. When it is desired to find such information for a call, thecallhandle BA305 for that call is found in callhandle table EB132. Whena request for call information is made, the callhandle BA305 for thatcall is found in callhandle table EB132. When the callhandle BA305 forthe call is found, the pointer to the call data (for example, thepointer to the BIR EE322 for that call) is found and returned.

In a step EK108, Receive Procedure EB110 updates console table EB134with a CONSOLE UPDATE MESSAGE EH122. Console table EB134 stores callstatus information indexed by console number versus callhandle BA305.Because valid console number ranges are known, simple variable arrayscan be used. When a console number EH124 is received, it is entered intoconsole table EB134. Console table EB134 can be updated every time aMODIFY BIR MESSAGE DG102 is received from CMP BA102. This occurs when acall is routed to an operator console AB108.

When a call is routed to the terminating user AA106, a START BILLINGMESSAGE EH126 is sent from CMP BA102 to BSRVR BA108. In a step EK110,Receive Procedure EB110 receives START BILLING MESSAGE EH126. STARTBILLING MESSAGE EH126 contains the callhandle BA305 of the call to betimed. FIG. 62 is an operational flow diagram illustrating what occurswhen Receive Procedure receives START BILLING MESSAGE EH126 in stepEK110 of FIG. 61. Referring now to FIG. 62, in a step EL102, callhandleBA305 for the call is looked up in callhandle table EB132. If callhandleBA305 is not found (decision block EL104), an error message is sent toerror box AG104 indicating that callhandle BA305 does not exist for thecall. This occurs in a step EL106. The partner (secondary billing serverBA108B) is then asked if it has the call status related to thecallhandle BA305 in question. If so, the information is passed back tothe primary BSRVR BA108A. This occurs in a step EL107.

In a step EL108, a call status is added. A call status is a structurecontaining the BIR EE322 as an element along with other call informationsuch as current console number, number of circuits being used, devicetypes, and circuits being used. When a BIR EE322 is allocated for acall, a call status (i.e., a circuit identification code) is alsoallocated.

If, on the other hand, callhandle BA305 is found for the call (decisionblock EL104), a BIR pointer EH162 corresponding to the callhandle BA305for the call, is read to indicate which BIR (EE322) belongs to the call.This occurs in a step EL110.

In a step EL112, BIR EE322 for the call is time-stamped. The time stampsignifies when a call has been connected and billing of user AA106 is tobegin.

Referring again to FIG. 61, in a step EK112, Receive Procedure EB110sends a START-OF-CALL MESSAGE (illustrated in FIG. 175) to the frauddetection and prevention system AG112. The purpose of START-OF-CALLMESSAGE is fully discussed in the Fraud System Section of this document.

When the call is finished (when one of users AA106 hangs up), ReceiveProcedure Kernel receives a STOP TIMING MESSAGE EH130 which initiatesthe send BIR procedure kernel EB112 to send the BIR EE322 associatedwith the call. The Receive Procedure Kernel sends a STOP CALL MESSAGEEH128 to the fraud system with the response being handled by the fraudprocedure.

The process followed by send BIR Procedure Kernel EB112 will now bedescribed. FIG. 63 is an operational flow diagram illustrating theprocess that occurs when send BIR Procedure Kernel EB112 receives stoptiming message EH130 sent in step EK114 of FIG. 61. Referring now toFIG. 63, in a step EM102, callhandle BA305 for the call is looked up incallhandle table EB132.

If callhandle BA305 is found (decision block EM104), the operationcontinues at step EM110. If, on the other hand, callhandle BA305 is notfound for the call (decision block EM104), send BIR procedure kernelEB112 sends an error message to error box AG104. This occurs in a stepEM106. Once the error message is dispatched, a request is made to thesecondary BSRVR BA108 for all the information it has passed regardingthe callhandle BA305. This occurs in a step EM107. In a step EM108, ifcallhandle BA305 is not found for the call, a callhandle BA305 is addedin a step EM108.

In a step EM110, send BIR procedure kernel EB112 determines whether aflush flag EH164 is set. If flush flag EH164 is set, in a step EM112,BIR EE322 is flushed.

If flush flag EH164 is not set, send BIR procedure kernel EB112 nextchecks in a step EM114 for a valid time stamp. If the time stamp isvalid, a duration for the call is computed in a step EM116. In a stepEM118, BIR EE322 is updated to reflect the duration of the call ascomputed in step EM116.

In a step EM120, the updated BIR EE322 is stored in a BIR file EB146.

In a step EM122, BIR EE322 is sent to billing system AG108.

The process of step EM122 is further described with reference to FIG.64. FIG. 64 is an operational flow diagram illustrating the process ofsending BIR EE322 to billing system AG108. Referring now to FIG. 64, ina step EP102, BIR EE322 is sent to billing system AG108.

If the billing system AG108 is busy or inactive, BIR EE322 is stored inBIR stack file EB146. BIR stack file EB146 is a flat file used to storeBIRs EE322 that could not be sent to billing system AG108.

In a step EK116, once the stack timer has expired, Receive Procedurekernel EB110 sends a BIR CHECK MESSAGE EH132 to BIR stack procedurekernel EB114. In response, BIR stack procedure kernel EB114 checks BIRstack file EB146 to determine whether there are any BIRs EE322 that havenot been sent to billing system AG108. This occurs as described below ina step ER102.

The process that occurs when BIR CHECK MESSAGE EH132 is received by BIRstack procedure kernel EB114 will now be described. FIG. 65 is anoperational flow diagram illustrating the process that occurs inresponse to BIR CHECK MESSAGE EH132.

In a step ER102, BIR stack procedure kernel EB114 checks BIR stack fileEB146 to determine whether there are any BIRs EE322 stored therein. Inother words, BIR stack procedure kernel EB114 checks to see if there areany BIRs EE322 that send BIR procedure kernel EB112 previously tried tosend to billing system AG108.

If a BIR EE322 is found (decision block ER104), it is retrieved from BIRstack file EB146 in a step ER106.

In a step ER108, BIR EE322 retrieved in step ER106 is sent to send BIRprocedure kernel EB112. In a step ER110, send BIR procedure kernel EB112attempts to resend BIR EE322 to billing system AG108.

2.3.2.2.5 Send BIR Procedure

The Send BIR procedure is where all responses to requests to the billingsystem AG108 are processed. During operation of the Billing Server, manyrequests are made to the billing system AG108. Each request is marked todetermine if all callhandle information can be removed when the requestcomes back. If a request to the billing system AG108 fails, the BIR willbe written to the BIR Stack file for retrying later.

2.3.2.2.5 BIR Stack Procedure

The BIR Stack procedure is responsible for re-sending BIRs to billingsystem AG108. This procedure makes use of the BIR Stack file describedin earlier sections. At initialization, a timer is started. Each timethe timer goes off, the BIR Stack file is checked for BIRs to be re-sentto the Billing system AG108.

If a BIR is found in the file, it is re-sent. When a successful responsecomes back, the file is checked for the next one to send. If there areno further BIRs to re-send, the file is truncated.

2.3.3.3 Billing Server Tables

BSRVR BA108 has numerous tables associated with it. Some of these tablesare now described.

2.3.3.3.1 Callhandle Hash Table

As described below with reference to FIGS. 66 and 67, most requests cometo the Billing Server with the callhandle BA305 of the call. Because ofthe potential high number of call statuses and the speed desired inperforming look-ups based on callhandle BA305, a hash table is utilizedin one embodiment. All information on a call is kept in a record inmemory. A pointer to this memory is then kept in the callhandle hashtable.

During a search for callhandle information, the callhandle BA305 issorted and the link list is traversed to find the matching callhandleBA305. When found, the pointer to the call status structure is returned.

2.3.3.3.2 Console Tables

Although most requests involve finding call status information for acall identified by a callhandle BA305, some requests require that theinformation be found using a console number. Because valid VRU AB134 andMOC AB132 number ranges are known, simple variable arrays can be usedfor this table. When a console number is received and needs to be tiedto a callhandle BA305 for later use, an entry in one of two tables ismade.

From the known console ranges, the correct table is determined. Next, ifthe console number is beyond the array, the table is increased to allowindexing. Only a pointer to the Callhandle Hash table is kept.

2.3.3.3.3 Debit Tables

With debit card calls, it is desirable that the call in progress beconstantly monitored for two reasons. First, it is desirable to warnoriginating user AA106A when the length of the call has almost exceededthe balance of the card. The second reason is so the call can beterminated when the call has met or exceeded the balance of the card. Inone embodiment, this is functionality is accomplished for multiple debitcards which are simultaneously in use by placing the specific debit cardinformation in a separate linked list from the actual BIR EE322 in thecallhandle hash table for the call. Scanning this list once every secondallows the system to notify the originator whenever required in a timelymanner. The debit table entries are linked to the BIR EE322 for thespecific call by the callhandle BA305 and BIR identification number.

2.3.3.3.4 Call Tracking Table

All calls, whether connected to a particular device (VRU AB134, ManualOperator Console AB132, Voice Mail, etc.) or completed to a terminatingnumber, have an associated BIR EE322 and an entry in a Call Trackingtable. This table helps the BSRVR BA108 to identify BIRs which should besent to billing system AG108 but have not been sent for some reason.

2.3.4 Redundancy

Redundancy is an extremely important criteria of the Billing Server. Ifcalls are in progress and the billing information for the calls is lost,revenue is lost also. To prevent this potential problem, the BillingServer is actually a pair of identical programs. One is the primary; theother is the secondary. They are referred to in this document as"partners." Any time one partner adds a callhandle, updates anyinformation dealing with it, the identical information is updated to thepartner. At any time both partners should have identical tables inmemory.

2.3.5 Timing of Calls

One function of BSRVR BA108 is to perform wholesale and retail timing ofa call for billing purposes. BSRVR BA108 uses BIR EE322 to keep track ofstart and stop times so that call durations can be computed andforwarded to billing system AG108 for billing purposes.

The manner in which BSRVR BA108 determines start and stop times for acall is now described. FIG. 66 is an operational flow diagramillustrating the process by which BSRVR BA108 tracks the start time of acall. Referring now to FIG. 66, in a step ET104, BSRVR BA108 receives astart timing message from CMP BA102. CMP BA102 generates and sends thismessage to BSRVR BA108 when the call is answered by the called party.

In a step ET108, when BSRVR BA108 receives the start timing message fromCMP BA102, BSRVR BA108 retrieves the BIR EE322 associated with the call.The identification of the correct BIR EE322 is made using the callhandleBA305 assigned to the call when it first entered call processing systemAB102. When BIR EE322 associated with the call is located, it is updatedto indicate that the call is connected to the destination. This occursin step ET110.

In a step ET112, a retail connect time field in the BIR EE322 for thecall is set to the current system time. Similarly, in a step ET116, thewholesale connect time field in the BIR EE322 associated with the callis set to the current system time.

Upon performing these steps, BSRVR BA108 updates the BIR EE322associated with the call to include the actual times that the call wasconnected to the terminating user AA106B. In a step ET120, a callstarted message is sent to fraud detection and prevention system AG112.This message is used by fraud detection and prevention system AG112 tomonitor calls for the purpose of detecting possible fraudulent use ofcall processing system AB102.

To determine the duration of the call, the system must also know whenthe call was terminated. The process by which the termination time of acall is determined and tracked is now described. FIG. 67 is anoperational flow diagram illustrating the process by which BSRVR BA108updates the BIR EE322 for the call with the termination time of thecall.

Referring now to FIG. 67, in a step ET202, BSRVR BA108 receives a stoptiming message from CMP BA102. CMP BA102 generates the stop timingmessage when either party hangs up the phone or the call is otherwiseterminated. Upon receipt of the stop timing message, BSRVR BA108retrieves the BIR EE322 associated with the call. This occurs in a stepET206. BSRVR BA108 retrieves the BIR EE322 based on the callhandle BA305that was sent with the stop timing message from CMP BA102. Thecallhandle BA305 identifies the call and is used to identify theappropriate BIR EE322 that corresponds to the call.

In a step ET210, BSRVR BA108 updates the BIR EE322 with the currentsystem time. Thus, BIR EE322 now includes the time at which the call wasterminated.

For calls that were billed on a per-unit time basis, it is important tocalculate the duration of the call so that the proper billing amount canbe determined. Thus, in a step ET212, BSRVR BA108 calculates thewholesale and retail durations of the call. The wholesale and retaildurations can be calculated by subtracting the wholesale and retailstart times from the stop time, respectively.

In order to have the correct start time appear on the subscriber's AA114bill, it may be necessary to adjust the start time to a different timezone. If this is the case, this is done in a step ET216. Now, the BIREE322 associated with the call is complete with wholesale and retailstart time and stop times for the call, and the wholesale and retaildurations of the call. Thus, when BSRVR BA108 sends BIR EE322 to billingsystem AG108, an appropriate bill can be generated and sent to thecorrect subscriber AA114.

In a step ET220, BSRVR BA108 sends a call stop time message to frauddetection and prevention system AG112. Fraud detection and preventionsystem AG112 uses the stop time in conjunction with the start time (sentin step ET120) to monitor the network for potential fraudulent uses. Thefraud detection and prevention system AG112 is discussed in detail inthe Fraud System Section of this document.

In one embodiment, BSRVR BA108 sends a response to CMP BA102 indicatingthat the timing of the call has been completed.

Once the timing information for the call is completed, as noted above,the BIR EE322 for the call is sent to billing system AG108 so that thecall can be billed. In one embodiment, this is coordinated by CMP BA102.When BIR EE322 is fully updated, CMP BA102 sends a send BIR message toBSRVR BA108. This is received by BSRVR BA108 in a step ET304. FIG. 68 isan operational flow diagram illustrating the process by which BSRVRBA108 sends a BIR EE322 to billing system AG108.

In a step ET306, BSRVR BA108 retrieves the BIR EE322 for the call. Onceagain, this is accomplished using a callhandle BA305 associated with thecall. Callhandle BA305 is sent by CMP BA102 with the send BIR message.

In a step ET310, once BSRVR BA108 has retrieved the BIR EE322 for thecall, it sends the BIR EE322 to billing system AG108.

2.4 DATABASE SERVER(DBS) 2.4.1 Database Server Introduction

NCP AB104 uses a DBS BA104 to access several databases. DBS BA104performs functions, or services, for NCP AB104 in response to messagesreceived over LAN BA122. For example, DBS BA104 retrieves callparameters BA308 in response to a GET CALL ID MESSAGE BA306 receivedfrom CMP BA102.

The functionality of DBS BA104 is described at a high level in theNetwork Control Processor Section of this document. DBS BA104, itsconfiguration in a preferred embodiment, and its operation is nowdescribed in greater detail.

FIG. 69 is a block diagram illustrating DBS BA104. FIG. 70 is anoperational flow diagram illustrating a process by which DBS BA104 iscreated. Referring now to FIGS. 70 and 69, DBS BA104 interfaces to theother processes within NCP AB104 via LAN BA122. In a step FA102, acontrol process FA202 is created. Control process FA202 interfaces toLAN BA122.

In a step FA104, control process FA202 reads a configuration file FA204.

In a step FA106, control process FA202 creates a shared memory FA206. Atthe same time, control process FA202 creates a stats process FA208.Stats process FA208 does not communicate via LAN BA122. Both statsprocess FA208 and control process FA202 can write data to shared memoryFA206 and read data from shared memory FA206.

These elements, control process FA202, configuration file FA204, sharedmemory FA206, and stats process FA208, make up a basic database server.In a preferred embodiment, whenever a DBS BA104 is created, it alwayshas these basic components. These components are present regardless ofthe file structure that DBS BA104 may have, or whether any files existat all.

Configuration file FA204 includes a services list FA209. This serviceslist FA209 includes a list of services FA210 that perform the functionsrequired of DBS BA104. Services list FA209 also includes a list of thedatabases FA214 that DBS BA104 can access when responding to a message.

A service FA210 is simply a program or process started by DBS BA104. Ina preferred embodiment, most services FA210 have one or more databasesFA214 associated with them. However, there is no requirement that eachservice FA210 have a database FA214 associated therewith.

In a step FA108, control process FA202 accesses configuration file FA204to read services list FA209.

In a step FA110, DBS BA104 creates all of the services FA210 listed inlist of services FA208. Services FA210 communicate via LAN BA122.Services FA210 all access shared memory FA206.

A server monitor FA212 interfaces via LAN BA122, and is used to monitorthe DBSs BA104 operating. Server monitor FA212 is started independentlyof control process FA202 and the balance of DBS BA104. Server monitorFA212 monitors the entire DBS BA104 by communicating with controlprocess FA202. Server monitor FA212 does not communicate directly withany one service FA210. Server monitor FA212 can monitor each of theseservices through control process FA202. DBS BA104 can be used to startup and shut down NCP BA104.

As noted above, services FA210 can have an associated database FA214.Whether database FA214 exists for a service FA210 depends on theparticular service FA210. Examples of services FA210 include a CALL IDSERVICE FA210A and a NUMBER TRANSLATION SERVICE FA210B.

The DBS BA104 illustrated in FIG. 69 is a server that can run in a UNIXor an OS/2 environment, for example. In these environments, multipleservices FA210 can each run as multiple applications. In a DOSenvironment, multiple applications cannot be run simultaneously;however, services FA210 can perform multiple functions simultaneously.

An example of a service FA210 in DBS BA104 is where DBS BA104 retrievescall parameters BA308 from a call ID database FA214A in response to GETCALL ID REQUEST MESSAGE BA306 from CMP BA102. In this example, GET CALLID REQUEST MESSAGE BA306 has information in a header portion indicatingthe identification of the specific service FA210 required. In this case,a CALL ID SERVICE FA210A is identified.

When GET CALL ID REQUEST MESSAGE BA306 is received by DBS BA104, CALL IDSERVICE FA210A accesses the call ID database to retrieve call parametersBA308. CALL ID SERVICE FA210A then places call parameters BA308 on LANBA122 for transmission to CMP BA102.

An additional example of a service FA210 is a number translation serviceFA210B. In this example, CMP BA102 sends a message requesting that DBSBA104 translate a number. For example, CMP BA102 may request DBS BA104to translate an 800 number into a terminating telephone number. In thisexample, service FA210B reads the 800 number, and accesses anappropriate 800 translation database FA214B to retrieve the translatednumber. The translated number is then sent to CMP BA102 over LAN BA122as a response message. Number translation is discussed fully in theNumber Translation Section of this document.

The following Table of Database Services illustrates by way of example anumber of services FA210 that can be provided by DBS BA104.

    ______________________________________                                        TABLE OF DATABASE SERVICES                                                             DB.sub.-- OP.sub.-- PROFILE                                                   DB.sub.-- SCRIPT                                                              DB.sub.-- HELP                                                                DB.sub.-- SUBSCRIBER                                                          DB.sub.-- NPA.sub.-- CITY                                                     DB.sub.-- DEF                                                                 DB.sub.-- VALID                                                               DB.sub.-- CALLID                                                              DB.sub.-- SPEED.sub.-- DIAL                                                   DB.sub.-- LINKCARD                                                            DB.sub.-- ACCOUNT                                                             DB.sub.-- COUNTRY                                                             DB.sub.-- 800.sub.-- TRANSLATION                                              DB.sub.-- 800.sub.-- TERMINATION                                              DB.sub.-- HOT/COLD                                                            DB.sub.-- VALINDEX                                                            DB.sub.-- VALBLOCK                                                            DB.sub.-- VSCRIPT                                                             DB.sub.-- DEBIT                                                               DB.sub.-- DEBITBAT                                                            DB.sub.-- ACCOUNT.sub.-- CODE                                                 DB.sub.-- CII.sub.-- CARD                                                     DB.sub.-- VM56                                                                DB.sub.-- VMBOX                                                               DB.sub.-- VMACCESS                                                            DB.sub.-- BNID                                                                VALIDATOR                                                                     CRD                                                                           BS                                                                   ______________________________________                                    

An example of a service FA210 without a database FA214 is a validationsystem AG102 (illustrated in FIG. 87). Validation system AG102 does nothave its own database FA214 but communicates with other services FA210in validating calls. These other services FA210 may have their owndatabases to perform database look-ups where required. For example, aninternal calling card verification service may have an associateddatabase for valid calling card numbers.

The operational process by which DBS BA104 processes a message receivedover LAN BA122 is now described. FIG. 71, which comprises FIGS. 72 and73, is an operational flow diagram illustrating the steps performed byDBS BA104 when a network message is received over LAN BA122. FIG. 74 isa data flow diagram illustrating the messages that flow to and from DBSBA104 when processing a message.

Referring now to FIGS. 69, 72, and 74, in a step FB102, DBS BA104 isactive and monitoring LAN BA122. In this step, DBS BA104 is waiting fora network message FA222. An example of a network message FA222 is a GETCALL ID REQUEST MESSAGE BA306 sent from CMP BA102 to DBS BA104.

In a step FB104, DBS BA104 receives network message FC122. In apreferred embodiment, network message FC122 is a packet of data receivedover LAN BA122.

When NETWORK MESSAGE FC122 is received, DBS BA104 first verifies theservice name contained in a header of NETWORK MESSAGE FC122 to determinewhether the service name is correct. This occurs in a step FB106.

If it is determined in step FB106 that the service name is incorrect,DBS BA104 sends an ERROR MESSAGE #1 FEC224 to error box AG104 in a stepFB108. ERROR MESSAGE #1 FEC224 indicates that a NETWORK MESSAGE FC122was received with an incorrect service name.

If the service name is correct, DBS BA104 next determines whether thesize of the packet received is correct. This occurs in a step FB110. Instep FB110, DBSBA104 compares the actual size of the received networkmessage FC122 to the size that received network message FC122 issupposed to be, as indicated in the message header. If the size isincorrect, in a step FB108 an ERROR MESSAGE #2 FC126 is sent to errorbox AG104. ERROR MESSAGE #2 FC126 indicates that the packet size of thereceived message is incorrect.

An example of when a packet size error may occur is when DBS BA104 doesnot receive the entire packet.

It should be noted that these validations performed in steps FB106 andFB110 are optional steps that are performed in a preferred embodiment.It is not mandatory that validation steps FB106 and FB110 be performed.Further, validation steps FB106 and FB110 can be performed in anychronological order. They do not have to be performed in the orderillustrated in FIG. 72.

For validation steps FB106 and FB110, if an error has occurred, theoperation resumes at step FB102, where DBS BA104 is waiting for anetwork message FC122.

If the packet size is correct as determined in step FB110, and theservice name is correct as determined in step FB106, DBS BA104 continuesat a step FB112. In step FB212, the service FA210 to which NETWORKMESSAGE FC122 is addressed, determines whether the message ID can beprocessed. In other words, the designated service FA210 determineswhether the action that NETWORK MESSAGE FC122 is requesting can beperformed by that service FA210. If the message ID cannot be processed,an ERROR MESSAGE #3 FC128 is sent to error box AG104 in a step FB214.ERROR MESSAGE #3 FC128 indicates that the requested function cannot beperformed.

If the function can be performed (in other words, if the message ID canbe processed), the designated service FA210 processes the message instep FB216. The received network message FC122 may command thedesignated service FA210 to perform functions such as write to a record,delete a record, add a record. Additionally, received NETWORK MESSAGEFC122 may simply be requesting a response from the service FA2 10 todetermine whether service FA210 is active.

If an error occurs in step FB216, an ERROR MESSAGE #4 FC130 is sent toerror box AG104 indicating that such an error occurred. ERROR MESSAGE #4FC130 is sent to error box AG104 in a step FB218. Additionally, if anerror occurred in step FB216, a response is sent to the process thatoriginated the received network message FC122, indicating that an errorhas occurred. This response is sent in a step FB216.

If no errors occur in processing received NETWORK MESSAGE FC122, theappropriate RESPONSE FC132 is sent to requesting process FC102 that sentreceived NETWORK MESSAGE FC122 to DBS BA104.

Additionally, received NETWORK MESSAGE FC122 may be addressed to controlprocess FA202. In this case, control process FA202 performs steps FB212,FB214, and FB216 to process RECEIVED MESSAGE FC122. Examples offunctions that could be requested of control process FA202 with receivedmessage FC122 are adding a new service FA210 or deleting an existingservice FA210.

To better illustrate the functionality of DBS BA104, these operationalsteps will be described with reference to an example received NETWORKMESSAGE FC122 and RESPONSE MESSAGE FC132. In this example, CMP BA102sends a GET CALL ID REQUEST MESSAGE BA306 to DBS BA104. DBS BA104receives the GET CALL ID REQUEST MESSAGE BA306 in step FB104.

DBS BA104 verifies that the service name is valid in step FB106. In thisstep, DBS BA104 verifies that a CALL ID SERVICE FA210A is an activeservice FA210 within DBS BA104. This validation is performed by controlprocess FA202.

DBS BA104 next determines whether the size of the GET CALL ID REQUESTMESSAGE BA306 received conforms to the size indicated in the messageheader. This is performed in step FB110.

If either of these validations (steps FB106, FB110) indicate that thereis an error, DBS BA104 sends the appropriate error message (ERRORMESSAGE #1 FEC224, or ERROR MESSAGE #2 FC126) to error box AG104 in stepFB108. DBS BA104 then continues to monitor the network in step FB102.

If these validations do not indicate an error, DBS BA104 next determinesin step FB112 whether the GET CALL ID MESSAGE BA306 can be processed. Inthis step, CALL ID SERVICE FA210A looks at the function requested by GETCALL ID MESSAGE BA306 to determine whether it can be performed.

If the function requested by GET CALL ID MESSAGE BA306 cannot beperformed by CALL ID SERVICE FA210A, ERROR MESSAGE #3 FC128 is sent toerror box AG104 in step FB214. DBS BA104 then sends a response FA224 toCMP BA102, indicating that the function requested by GET CALL ID REQUESTMESSAGE BA306 cannot be performed. DBS BA104 then monitors the networkin step FB102 waiting for a new NETWORK MESSAGE FC122 to be received.

If, in step FB212, CALL ID SERVICE FA210A determines that the functioncan be performed, the operation continues at step FB216. In step FB216,call ID service FA210A accesses call ID database FA214A to retrieve callparameters BA308 requested by GET CALL ID MESSAGE BA306.

If no errors occurred in this process, DBS BA104 sends call parametersBA308 to CMP BA102 in step FB216. If an error did occur in step FB216,DBS BA104 sends a response FA224 to CMP BA102 indicating that the callparameters BA308 cannot be retrieved. DBS BA104 additionally sends ERRORMESSAGE #4 FC130 to error box AG104.

2.4.2 Deleting a Database Service

To ensure efficient operation of DBS BA104, the capability is providedto delete a service FA210 if is it no longer required. This allowsunwanted services to be removed from DBS BA104. Deleting service FA210further allows the portion of shared memory FA206 that service FA210uses to be made available for other uses.

The process by which a service FA210 is deleted is now described. FIG.75 is a data flow diagram illustrating the messages involved in deletinga service FA210. FIG. 76 is an operational flow chart illustrating thesteps involved with deleting a service FA210. Referring now to FIGS. 75and 76, in a step FD202 server monitor FA212 sends a DELETE SERVICEREQUEST FD102 to control process FA202. DELETE SERVICE REQUEST FD102 isa request that a particular service FA210 be deleted from DBS BA104. Theservice FA210 being deleted is referred to as cancelled service FA210C.

In a step FD204, control process FA202 determines whether that cancelledservice FA210C exists.

If cancelled service FA210C does exist, control process FA202 sends aDELETE MESSAGE FD104 to delete cancelled service FA210C. This occurs ina step FD206.

In a step FD208, cancelled service FA210C sends a SERVICE DELETEDMESSAGE FD106 to control process FA202. SERVICE DELETED MESSAGE FD106informs control process FA202 that cancelled service FA210C hasperformed all the necessary functions in step FD208 to shut itself down.

In a step FD210, cancelled service FA210C shuts itself down. In thisstep, cancelled service FA210C closes any databases that were associatedwith it, cancelled service FA210C breaks its connection to the network(it closes its network socket), and cancelled service FA210C erases itsportion of shared memory FA206. Cancelled service FA210C then returnsthis portion of shared memory FA206 for other uses.

In a step FD212, control process FA202 sends a DELETE SERVICE RESPONSEFD108 to server monitor FA212. DELETE SERVICE RESPONSE FD108 informsserver monitor FA212 that cancelled service FA210C has been deleted.

In a step FD214, control process FA202 updates shared memory FA206 toindicate that cancelled service FA210C will no longer be utilizing itsportion of shared memory FA206.

The above discussion describes how an individual service FA210 is shutdown. The process by which the entire DBS BA104 is shut down is nowdescribed. FIG. 77 is an operational flow diagram illustrating the stepsinvolved in shutting down DBS BA104. Referring now to FIGS. 75, 76, and77, to shut down DBS BA104, server monitor FA212 sends a DELETE SERVERREQUEST FD122 to control process FA202. This occurs in a step FD302.Upon receipt of DELETE SERVER REQUEST FD122, control process FA202 sendsa DELETE SERVICE MESSAGE FD104 to each service FA210 that isoperational.

In a step FD306, each service FA210 shuts itself down as described abovewith reference to step FD208.

In a step FD310, each service FA210 sends a SERVICE DELETED MESSAGEFD106, indicating to control process FA202 that service FA210 is shutdown.

In a step FD312, control process FA202 sends a SHUT DOWN SIGNAL FD126 tostats process FA208. In a preferred embodiment, stats process FA208 doesnot communicate via LAN BA122. Instead, in the preferred embodiment,stats process FA208 is a Unix™ process that communicates via Unix™signals to control process FA202.

In a step FD314, upon receipt of SHUT DOWN SIGNAL FD126, stats processFA208 returns its portion of shared memory FA206 to the system for useby other processes.

In a step FD318, control process FA202 sends a DELETE SERVER RESPONSEFD124 to server monitor FA212. Delete server response FD124 informsserver monitor FA212 that the DBS BA104 has been shut down.

2.4.3 Searches Using Database Server BA104

Conventional database servers search for requested data in a highlysoftware-intensive manner. With these conventional servers, databasesearches are coded in software. Therefore, if a change is made to thedesired search, the search code has to modified, recompiled, andreleased. This is time consuming and affects service.

One technique used by DBS BA104 is a data-driven approach to searches.In this approach, the search is made based on records in the database.DBS BA104 searches through a series of records to find a correct recordhaving the desired data. The search is performed by using a key to findan initial, or root, record. Data found in various fields in the rootrecord are used to find a next record in the series. Similarly, datafound in fields in this next record are used to find a subsequent nextrecord. This search continues until a last record is found.

An advantage of this data-driven approach is that searches are lesssoftware-intensive. The search is driven by the data contained in eachrecord found in a series. Therefore, the search strategy can be changedsimply by updating fields (data) in some or all of the records.

Additionally, most conventional database servers require thatconnections between clients and servers be established before anyrequests can be made. This means that the client and server must firstcommunicate with each other to exchange information about each other.This must be done before any data is retrieved. The conventionaldatabase server is then responsible for managing each client's use ofthe database. For example, the database server is responsible forknowing whether the client is still active and what that client'scurrent position is in the file. This management overhead takes awayfrom the performance of the database.

The DBS BA104 according to the present invention does not require asession to be established before information can be exchanged betweenthe client and server. With DBS BA104, it is the responsibility of eachclient using DBS BA104 to maintain track of its position in the file. Byshifting this responsibility to the client, DBS BA104 can concentratemore on the task of doing the actual look-ups, and less on managementoverhead. Thus look-ups using DBS BA104 are extremely fast.

To illustrate the manner in which DBS BA104 performs searches for datarecords, a data search is now described in terms of two examples. Thefirst example is a search performed by DBS BA104 when it receives a GETCALL ID MESSAGE BA306 from CMP BA102. The second example is how DBSBA104 performs a search when it receives a request for a called numbertranslation, such as an 800 number translation.

2.4.3.1 Call ID Look-up Using Database Server

A data search in response to a CALL ID LOOK-UP MESSAGE BA306 is nowdescribed. FIG. 78A is a diagram illustrating the configuration of acall ID record in CALL ID DATABASE FA214A. Referring now to FIG. 78A,the search of CALL ID DATABASE FA214A is a search performed using CALLID RECORDS FF402. CALL ID RECORD FF402 includes several fields. Thesefields include a NUMBER FIELD FF432, a TYPE FIELD FF434, an IDENTIFIERFIELD FF436, a NEXT IDENTIFIER FIELD FF440, DATA FIELD FF442, and a TYPELIST FF444.

NUMBER FIELD FF432 can include information such as ANI, time of day, dayof week, called number, originating number, and the like. TYPE FIELDFF434 can contain information such as switch circuit, called number,types of called number, authorization code, time of day, day of week,type of ANI, and the like. IDENTIFIER FIELD FF436 is used to identify alevel within CALL ID DATABASE FA214A at which CALL ID RECORD FF402resides.

NEXT IDENTIFIER FIELD FF440 indicates the level in CALL ID DATABASEFA214A at which the search will continue.

DATA FIELD FF442 contains the call parameters, and optionally additionalinformation, for that CALL ID RECORD FF402.

TYPE LIST FIELD FF444 is used to indicate how to search for the nextCALL ID RECORD FF402 within CALL ID DATABASE FA214A.

Searches through CALL ID DATABASE FA214A are performed using a recordkey FF438. Record key FF438 comprises NUMBER FIELD FF432, TYPE FIELDFF434, and IDENTIFIER FIELD FF436.

FIG. 79 is a block diagram illustrating a high-level concept of how adata search in response to a get call ID message BA306 is performed.

Referring now to FIG. 79, this high-level concept is now described. Thesearch first finds a root record FF701 and uses root record FF701 as apresent record FF702. Present record FF702 is used to construct atemplate record FF704 having a template key FF706. Template key FF706and template record FF704 are used to search for the next record in thesearch. This record is referred to as "next record FF708". Root recordFF701, present record FF702, template record FF704, and next recordFF708 each have the same data structure as call ID database call IDrecord FF402.

FIG. 80 is a high-level operational flow diagram illustrating thehigh-level concept of how a data search in response to a GET CALL IDREQUEST MESSAGE BA306 is performed. Referring now to FIGS. 79, 80, and78A, in a step FF102, call ID service FA210A locates a root record FF701in call ID database FA214A (described in FIG. 83, below). Call IDservice FA210A uses root record FF701 as present record FF702.

In a step FF104, if type list FF444 in present record FF702 indicatesthere are no more records to search, the search is done. In this casecall parameters BA308 are retrieved from data field FF442 of presentrecord FF702 and sent to CMP BA102.

If type list FF444 in present record FF702 indicates there are morerecords to search, in a step FF106, present record FF702 is used to makea template record FF704 for the search. Present record FF702 alsodefines the portion of the database in which to confine the search.

In a step FF108, the template record FF704 is used to search for andfind the next record FF708. When next record FF708 is found, in a stepFF110, next record FF708 becomes the new present record FF702, and thesearch process continues at step FF104.

A more detailed description of the process by which call ID databaseFF214A is searched is now be described. FIG. 81 is a high-leveloperational flow diagram illustrating the basic steps performed when DBSBA104 receives a GET CALLID REQUEST BA306 from CMP BA102. FIG. 82 is adetailed operational flow diagram illustrating the manner in which DBSBA104 searches for the appropriate data record in response to a get callID message BA306. FIG. 83, described below, is a detailed operationalflow diagram illustrating the manner in which DBS BA104 finds a rootrecord when performing the search.

Referring now to FIGS. 14 and 81, in a step FF202, CMP BA102 sends a GETCALLID REQUEST BA306 to DBS BA104.

In response to GET CALL ID REQUEST BA306, DBS BA104 accesses a call IDdatabase FA214A. This access is performed using call ID database serviceFA210A. This access is performed in a step FF204.

In a step FF206, DBS BA104 searches for call parameters BA308 requestedby get call ID message BA306. This occurs in a step FF206. Morespecifically, in step FF206, call ID database service FA210A searchescall ID database FA214A for the correct call ID record FF402 thatcontains the data (call parameters BA308) requested by get call IDmessage BA306.

FIG. 82 is an operational flow diagram illustrating the manner in whichthis search in step FF206 is performed. Turning now to FIG. 82, in astep FF302, call ID database service FA210A first locates root recordFF701. Root record FF701 is the record used to begin the search for callparameters BA308. The manner in which DBS BA104 finds root record FF701is fully described with reference to FIG. 83 below.

In a step FF303, root record FF701 found in step FF302 is designated aspresent record FF702 for the purpose of performing the search operation.

In a step FF304, present record FF702 is saved. As will be describedbelow, if no subsequent call ID record FF402 is found in the search,data FF442 within present record FF702 are returned as call parametersBA308.

In a step FF306, call ID database service FA210A examines type listFF444. Type list FF444 includes several search types FF404. Search typesFF404 are listed in type list FF444 in the order in which they are to beused for the search. In other words, they are prioritized. The search isperformed at step FF306 using the highest priority search type FF404 intype list FF444.

In a step FF308, if the highest priority search type FF404 of presentrecord FF702 indicates the search is completed, (in a preferredembodiment, is a `0`), present record FF702 is the record that containscall parameters BA308 within its data field FF442. In this case, theoperation continues at step FF208 (FIG. 81).

On the other hand, if in step FF308 it is determined that the first typeFF404 in type list FF444 does not indicate that the search is done (isnot a 0 in a preferred embodiment), the search continues in a stepFF310.

In step FF310, call ID database service FA210A uses the search typeFF404 examined in step FF308 to set up template record FF704. Templaterecord is used to search for next call ID record FF402 in the search. Inthis step, database service FA210 builds template record FF704 byputting the search type FF404 into type field FF434 of template recordFF704. The type indicated by search type FF404 is put into the numberfield FF432 of template record FF704. The next identifier FF440 frompresent record FF702 is put in the identifier field of template recordFF704.

These three fields in template call ID record FF402 comprise templaterecord key FF706. It is this record key FF706 that is used to search forthe next call ID record FF402 in the search. Call ID database serviceFA210A searches for next record FF708 by searching for a record whoserecord key FF438 matches the record key FF706 of template record FF704.

In a step FF312, the search using temnplate record FF704 is performed.This search is performed at a level in call ID database FA214Aidentified by next identifier FF440 of present record FF702. This limitsthe search to the group of call ID records FF402 existing at that levelwithin call ID database FA214A.

In a step FF314, if the next record FF708 in the search is found, theoperation continues at step FF316. If, on the other hand, next recordFF708 is not found, the operation continues at a step FF318.

In a step FF316, if next record FF708 is found, next record FF708becomes present record FF702 and the search continues at step FF304.This new present record FF702 (previously next record FF708) becomespresent record FF702 for the purpose of the search.

If next record FF708 is not found, in step FF318, call ID look-upservice FA214A examines the next highest priority type FF404 in typelist FF444 of present record FF702 to determine if any additionalsearches are to be performed. The operation now continues at step FF308,where it is determined whether this next highest priority search typeFF404 indicates the search is completed. If the search is not completed,the search continues in step FF310 using this next highest prioritysearch type FF404 and present record FF702 to set up search parameters.

If this next highest priority search type FF404 indicates the search iscompleted, the operation continues at step FF208 (FIG. 81).

Referring now to FIG. 81, in a step FF208, call ID look-up serviceFA210A sends data FF442 found in the last saved present record FF702 toCMP BA102. This data FF442 is data that makes up call parameters BA308.

The first step in performing the search of call ID database FA214Aoccurs in step FF302. The process by which call ID database serviceFA210A finds root record FF701 is now described. FIG. 83 is a blockdiagram illustrating the process by which call ID database serviceFA210A finds root record FF701. FIG. 78B is a diagram illustrating thestructure of a search key used to search for root record FF701 andillustrating a default record FF804.

Referring now to FIG. 83, in a step FF502 call ID database serviceFA210A obtains a switch number and a circuit number in get call IDrequest message BA306. In a step FF504, this switch number and circuitnumber found in get call ID request message BA306 are used as a numberfield FF832 of a search key FF802.

In a step FF506, the switch circuit identification included in get callID request message BA306 is inserted in type field FF834 of search keyFF802.

In a step FF508, `0` is used as the identifier FF836 of search keyFF802.

In a step FF510, call ID database service FA210A uses search key FF802to search for root record FF701. In this step, call ID database serviceFA210A is using search key FF802 to find a root record FF701 having anumber field FF832 and a type field FF834 matching those of search keyFF802. Identifier FF836 indicates that a search will be performed onlevel 0. In a step FF512, if root record FF701 is found, the operationcontinues at step FF303 where root record FF701 becomes a present recordFF702 and the search is performed as described with reference to FIGS.82 and 81.

If root record FF701 is not found, in a step FF514, a default record isretrieved containing default data FF844. This default data FF844 isreturned as call parameters BA308.

2.4.3.2 Number Translation Look-up Using Database Server

Another example illustrating the manner in which DBS BA104 performssearches is a search for a number translation. The manner in which DBSBA104 performs number translation searches is now described. FIG. 84 isa diagram illustrating a translation record FG102. FIG. 85 is anoperational flow diagram illustrating the process of performing a numbertranslation look-up. FIG. 86 is a data flow diagram illustrating thedata flow that occurs when a number translation is requested.

Referring now to FIG. 84, number translations are performed using atranslation record FG102. Translation records FG102 include a PARENT IDfield FG104, a TYPE OF ROUTING field FG106, a NUMBER field FG108, aROUTE INFO field FG110, and a TERMINATION INDEX field FG112. PARENT IDfield FG104, TYPE OF ROUTING field FG106, NUMBER field FG108, and ROUTEINFO FIELD FG110 make up a translation search key FG114. Translationsearch key FG114 is used to search for the correct translation recordFG102.

Referring now to FIGS. 84, 85 and 86, in a step FG202 DBS BA104 receivesa NUMBER TRANSLATION REQUEST FG322 from CMP BA102. More specifically,number translation service FA210B receives number translation requestFG322.

In a step FG204, number translation service FA210B locates a routerecord FG402 for the search. Root record FG402 is found simply bylooking at the root level for a record having a number in the numberfield FG108 that is the number to be looked up.

In a step FG206, information in NUMBER TRANSLATION REQUEST FG322 isloaded into root record FG402 to continue the search. In the case of aroot record FG402, the parent ID is `0` (indicating level 0). Routeinformation contained in number translation request BA322 is loaded intoROUTE INFORMATION field FG110 of root record FG402. For example, if thetype of routing in TYPE OF ROUTING FIELD FG106 of root record FG402 isoriginating state, then the state in which the call originated is loadedinto ROUTE INFORMATION field FG110 of root record FG402. Thus, if theperson placing the call originated the call in Tennessee, "Tennessee"will be the state loaded into route information field FG110. In a stepFG208, number translation service FA210B accesses translation databaseFA214B to search for a record having fields that match root recordFG122. In this step, number translation service FA210B is searching forthe next record FG124 in the search.

If the next record FG124 is found (decision block FG210), the searchcontinues at step FG206. In this and subsequent iterations, the type ofrouting listed in TYPE OF ROUTING field FG106 in the found record isused to direct the search. In step FG206, the route information fromnumber translation request BA322 is loaded into ROUTE INFORMATION fieldFG110. For example, this next level of search may indicate that the typeof routing should be based on time of day that the call is placed. Inthis case, the time that the call was actually placed is loaded intoROUTE INFORMATION field FG110. The process continues at step FG208 tosearch for the next record, having a key that matches the record thatwas found in the previous iteration of FG208 with the matching routeinformation in ROUTE INFORMATION field FG110.

If no new record is found (decision block FG210) or the next search typeis normal translation, the search is completed. In this case, numbertranslation service FA210B reads termination index FG112 from the lastrecord found (i.e. the "next record" FG124).

In a step FG214, number translation service FA210B uses terminationindex FG112 to search for the translated number in a number translationdatabase FG302.

In a step FG216, the translated number FG324 retrieved from terminationdatabase FG302 is sent to CMP BA102.

2.4.4 Number Translation

Many of the services of call processing system AB102 are based on theability to translate a number into another number or, alternatively,into a call process definition. The number to be translated is generallyan 800 number, but could be another number as well. A translationsystem, used to perform the number translations, is now described. FIG.207 is a block diagram illustrating a representative architecture for atranslation system. Referring now to FIG. 207, the translation systemZA100 includes a translator ZA102, a translator database ZA104, and atermination/translation database ZA106.

The main translator ZA102 is a service where translation requests areprocessed. Translator ZA102 can be a subsystem of another NCP AB104 suchas DBS BA104 or CMP BA102, or could be a separate component (internal orexternal to NCP AB104). When translator ZA102 receives a request fortranslation it sends queries to translator database ZA104 andtermination/translation database ZA106 to request look-ups. TranslatorZA102 can also query other databases, such as an NPA database, if neededto obtain additional information.

The translator database ZA104 contains information required to performsearches vased on a call ANI, time, day, state, and LATA. In oneembodiment, translator database ZA104 is a tree format with each calledor dialed (into the switch network) number at the root (or base) of thetree. Each level of the tree comprises one search type and an optionaldefault record.

When translator ZA102 commences a search, it is begun in translatordatabase ZA104 at the root level. The root record, and each subsequentrecord contains instructions to allow searching for the next record atthe next level. The search progresses through the tree from one recordto the next, using information in the most recently found record tosearch for the next record. The search continues through as many levelsas required until the last record in the search is found. This recordcontains a termination index.

The translation then continues by searching in termination/translationdatabase ZA106. The search is based on the called number and thetermination index retrieved from translator database ZA104. The searchobtains the 10-digit terminating number or alternatively, callIDinformation used to route the call for additional operator handling.

The translation system ZA100 allows complex translations to be performedon any given called number, while using only a few termination recordsin the termination/translation database ZA106. Specifically, only onerecord is required for each 10-digit terminating number and for eachconsole routing. When a specific called number is changed (for examplewith "800 On-the Go"), only the termination index record has to bechanged to re-route the call.

3.0 VALIDATION SYSTEM

A validation system AG102 is provided to validate certain pieces ofinformation before a call is routed to a terminating customer switchAA104 or a terminating user AA106B. For example, if originating userAA106A places a calling card call, validation system AG102 can be usedto determine if the calling card number is valid. In other words,validation system AG102 validates the calling card number.

Other examples of call information that can be validated before a callis routed to a destination are whether a credit card number is valid forcredit card calls, whether the originating user AA106A or customer AA110is authorized to call a certain geographic destination. These areexamples only, and should in no way be construed to limit the uses ofvalidation system AG102 to these examples.

The interface between validation system AG102 and operator consolesAB108 is now described. FIG. 87 is a high-level block diagramillustrating an interface between operator consoles AB108 and validationsystem AG102. Referring to FIG. 87, when an operator console AB108 has apiece of information that must be validated, operator console AB108sends a validation request GA122 to validation system AG102. Validationrequest GA122 includes information that operator console AB108 needs tohave validated.

Upon receipt of validation request GA122, validation system AG102evaluates the information to determine whether it is valid. The mannerin which this is accomplished is fully described in this section of thedocument. Once the validation is performed, validation system AG102sends a validation response GA124 to the operator console AB108 thatsent validation request GA122. Validation response GA124 providesinformation to operator console AB108 regarding whether the informationis valid.

For example, if a user places a call using a calling card, the operatorconsole sends a validation request GA122 to validation system AG102 tovalidate the calling card number. Upon receipt of validation requestGA122, validation system checks the calling card number againstvalidation databases (discussed below) to determine whether the callingcard number is valid. Once a determination has been made as to whetherthe calling card number given is valid, this information is provided tooperator console AB108 in the form of validation response GA124. If thecalling card number is valid, operator console AB108 sends operatorresponse data AB126 to NCP AB104 with the information that the number isvalid and the call can be completed. NCP AB104 then commands matrixswitch AB106 to route the call to the destination.

FIG. 88 is a block diagram illustrating validation system AG102 ingreater detail. Validation system AG102 includes a validator GA202 andan external validation gateway GA204. Validation system AG102 alsoincludes several databases, or tables, wherein certain validationinformation can be found. These include a p-code database GA222, ahot/cold database GA224, a validation index database GA226, and avalidation block database GA228.

The operation of validation system AG102 is now described. FIG. 89 is ahigh-level operational flow diagram illustrating the operation ofvalidation system AG102. Referring to FIGS. 88 and 89, in a step GA302,validator GA202 receives validation request GA122. Upon receipt ofvalidation request GA122, validator GA202 accesses p-code database GA222to retrieve p-code GA232 for the particular validation operation. P-codeGA232 comprises a set of instructions to tell validator GA202 how toperform the validation necessary for the particular validation requestGA122. The use of p-code GA232 allows the validation performed byvalidator GA202 to be customized for each customer AA110 or user AA106.Thus, different levels and types of validation can be performed based onthe type of call placed, the customer AA110 through which the call wasplaced (if any), the particular user AA106, or other uniquecharacteristics.

If there is no p-code for a particular validation request GA122, in astep GA304, validation system sends validation response GA124 tooperator console AB108 informing operator console AB108 that the callcannot be validated.

If p-code GA232 is found for the validation request GA122, p-code GA232is retrieved by validator GA202. The retrieved p-code GA232 is executedby validator GA202 to perform the validation. This occurs in a stepGA306. To execute p-code GA232, validator GA202 follows the instructionsfound in p-code GA232. These instructions direct validator GA202 toperform specific validation operations. Step GA306 is now described ingreater detail. FIG. 91 is an operational flow diagram illustrating thesteps involved in executing the p-code.

Once the p-code is executed by validator GA202, validator GA202 sendsvalidation response GA124 to operator console AB108. This occurs in astep GA 308.

FIG. 90, which comprises FIGS. 91 and 92, is an operational flow chartillustrating an example of how validator GA202 executes p-code GA232 instep GA306. Referring now to FIGS. 88 and 91, some validations mayrequire that a hot/cold file GA234 and hot/cold database GA224 bechecked to determine if the call can be validated. In this case,validator GA202 retrieves hot/cold file GA234 for that particular callfrom hot/cold database GA224. This occurs in a step GA402. Hot/cold fileGA234 may be indexed by calling card number, for example, to determinewhether that calling card number is valid. Hot/cold file GA234 couldalso be indexed on credit card numbers, customer identification, useridentification, and the like.

In a step GA404, validator GA202 checks lot/cold file GA234 to determinewhether the parameter to be validated is hot or cold. For example,validator GA202 determines whether the calling card number for a callingcard call is hot or cold.

If the number is hot, validation response GA124 is sent to operatorconsole AB108 indicating that the call cannot be placed. This occurs ina step GA406. An example of when this might occur is when a calling cardis reported stolen and the number entered in hot/cold file GA234 as hot,when a calling card is cancelled by a user AA106 or a customer AA110, orfor any other reason that card should automatically be consideredinvalid.

As a second example, an originating telephone number may be listed as"hot" if for some reason calls are to be blocked from that number. Onereason for listing an originating number as "hot" is where that numberis used frequently to perpetrate fraud. For example, a particularoriginating telephone number may have been used in the past to placelong-distance calls using stolen calling card numbers. In this case,this originating telephone number will be blocked from placing callingcard calls.

If in step GA404 validator GA202 determines that the parameter checkedis cold, validator GA202 sends a validation response GA124 indicatingthat the call is validated and should be routed to the destination. Thisoccurs in a step GA408.

Use of hot/cold file GA234 is not limited to validating calling cardnumbers but can be used to validate numerous other call parameters suchas subscriber AA114 identification, use of a feature by a user AA106,and the like.

If in step GA404 the parameter checked is not hot or cold, validatorGA202 accesses validation index database GA226 to retrieve a validationindex. This occurs in a step GA5 10. If validation index GA226 is foundfor the particular call (decision block GA512), validation index GA226is checked in a step GA514 to determine if that call is blocked.Validation system AG102 is implemented to allow telephone calls to beblocked for numerous reasons. For example, a particular user AA106 maybe blocked from calling certain cities, certain area codes, or atcertain times of day. Additionally, certain users may be limited tocalling only certain telephone numbers or certain cities and may belimited to using long distance services at certain times of day. Theselimitations, or blocks, can be placed on individual users, specificcalling card numbers or debit cards, or on specific customers AA110 orsubscribers AA114. This provides almost unlimited flexibility tocustomize the system in setting up the long distance capabilitiesprovided to particular third-tier carriers or users. To check if anumber is blocked in step GA514, a series of searches is done in thevalblock database (GA288) to see if the call should be blocked. Thesesearches are done until a record is found to be blocked or no furtherrecords are found. Each record found contains data on how to search fornext record. All of these records form a tree which is traversed duringthese searches.

If the number is blocked (decision block GA516), validator GA202 sendsvalidation response GA124, indicating that the call cannot be routed.This occurs in a step GA518. If, on the other hand, the number is notblocked (decision block GAS16), validator GA202 proceeds to checkinternal validation where required. Additionally, if there is novalidation index GA236, validator GA202 performs an external validationif required. The external validation is performed in a step GA518.External validations can include validating a credit card number, athird party collect call, a debit card number, a LEC calling cardnumber, and numerous other parameters that may have to be validated inan external source.

In step GA518, validator GA202 sends a request to external validationgateway GA204 requesting that the parameter be validated. For example,validator GA202 may send a request to external validation gateway GA204to obtain an external validation on a credit card number. In thisexample, external validation gateway then sends a request to an externalsource to validate the credit card number. One example of such anexternal source is the service company known as Card*Tel (located in Ft.Lauderdale, Fla., U.S.A.) which normally validates credit card numbers.When the positive or negative response is received from Card*Tel,external validation gateway GA204 provides this information to validatorGA202. If external validation indicates that the call is blocked in astep GA520, a validation response GA124 is sent to operator consoleAB108 in a step GA518 indicating that the call should not be routed. Ifin step GA520 it is determined that the call is not blocked, validationresponse GA124 is sent to operator console AB108 indicating that thecall can be routed.

It should be noted that external validation does not need to beperformed on every call, i.e. those for which the card number record isresident within the DBS BA104. When external validation is notnecessary, steps GA518 and GA520 can be skipped. Additionally, the otherchecks such as the check of hot/cold database GA224 and validation indexGA226 can also be bypassed if these checks are not required for theparticular call. The p-code database GA222 is what is used to providethis flexibility for different types of calls, different subscribersAA114, and different users AA106. Different instructions can be set upin p-code database GA222 to command validator GA202 to validate calls indifferent ways. For example, there may be a different p-code for callingcards and for debit cards and different customers and users may eachhave different validation procedures depending on the type of servicethey request from call processing system AB102. Thus, the use ofdifferent p-code file GA232 for each type of validation operation allowsvalidations to be customized to a particular user AA106, or customerAA110. It should also be noted that additional databases could beprovided to perform additional validations. For example, a debit carddatabase GA230 could be provided to determine whether a particular debitcard number is valid and whether there are sufficient funds in that cardto permit the call to be routed. Debit cards could also be handledexternally, via external validation gateway GA204.

The types of validation described with reference to validation systemAG102 are shown by way of example to illustrate the manner in whichvalidator GA202 performs a validation. These examples should not beconstrued to limit the use of validation system AG102 to only theseexamples.

In conventional systems, validation is typically performed by operatorconsoles AB108. In these cases, the consoles AB108 did the look-ups todetermine whether the call was valid and should be routed. Any changesthat had to be made to the validation process in these conventionalsystem required that changes had to be made to each operator consoleAB108. A benefit provided by call processing system AB102 is that all ofthe validation function is moved to a single centralized location andvalidation system AG102. As a result, changes in the validation processneed only be implemented to a single system instead of to eachindividual operator console AB108. Additionally, the use of p-codeallows for customization and allows changes to be made quickly andefficiently by simply changing the instructions found in p-code databaseGA222.

A key feature provided by this architecture is that changes to thevalidation process can be made quickly and easily by simply updatingp-code database GA222. Validator GA202 does not have to be recompiled toimplement changes to the validation process. The manner in which p-codedatabase is updated is discussed in detail below with reference to FIG.93.

An additional feature provided by this architecture is that it allowscustomization. For example, customer A may wish to allow calls to Canadawhereas customer B does not, or customer C may not wish to accept creditcard calls. Thus, using p-code, third-tier carrier customers can requestparticular customized services from call processing system AB102, andcustomization can be done on a per-customer basis. Changes to thevalidation scheme for each customer can be made by simple changing thep-code records.

Validation is not limited to validation of the calling method such ascredit card or calling card number, but also allows validation oforiginating and destination telephone numbers.

In the past, to update validation methods, operator consoles AB108 hadto be removed from operations and recompiled with the new validationprocesses. With numerous operator consoles AB108, such an operation cantake a long time and have an impact on services provided to customers.According to the current invention, changes in the way a call isvalidated can be made (even on a per subscriber AA114 basis) simply bychanging the data in p-code database GA222.

4.0 DISTRIBUTION SYSTEM

As described in this document, call processing system AB102 is a highlydata-driven system in one embodiment. Because of this, the manner inwhich data is handled and maintained is of paramount importance. Updatesto databases must be made efficiently and in a timely fashion.Additionally, it is critical that the integrity of data within thesedatabases is maintained at a high level.

One way to provide for a fault-tolerant operation is to use mirroreddatabases. This provides system redundancy that allows a system tocontinue to operate even if one of the redundant databases goes down.

One problem associated with redundant databases is that it can becometoo time-consuming to update all databases when changes are made. Thiscan especially be a problem where a relational database is used becauseof the relatively slow access times associated with relationaldatabases. However, it is important that all databases, both primary andredundant databases, are updated at or about the same time so that thedata is current throughout the system.

To address this problem, the inventors have developed a distributionsystem intended to ensure that data integrity is maintained throughoutthe system. According to the inventors' concept, a primary database isupdated with all data changes required. These can include updates,inserts, and deletions. A distribution system reads these updates anduses them to update all affected slave databases. In this manner, thedistribution system ensures that all changes made to the primarydatabase are incorporated into the affected slave databases.

The distribution system according to the present invention is nowdescribed within the call processing system environment. It should benoted that the distribution system could be used to effectuate updatesto any system using redundant databases and is not limited to callprocessing applications or the embodiment described herein.

FIG. 93 is a high-level block diagram illustrating the distributionsystem in one embodiment. FIG. 94 is a high-level operational flowdiagram illustrating the manner in which the distribution system updatesslave databases to reflect updates to a primary database. Referring nowto FIGS. 93 and 94, in this embodiment, distribution system HA100includes a distributor HA102 and master databases HA106. Masterdatabases HA106 includes all databases used by call processing systemAB102. Changes are made to master database HA106 by order entry HA104 orupdates from other applications HA108. Distributor HA102 takes thesechanges and updates the slave databases HA110.

In this embodiment, slave databases HA110 comprise the call processingdatabases used to store data related to call processing. Masterdatabases HA106 include additional information that is not necessarilyrelated to call processing. For example, master databases HA106 includebilling information which is not included in slave databases HA110 inthis embodiment.

In a step HA202, a data change in call processing system AB102 resultsin a change to data in master database HA106. This data change can be aresult of any of several actions. For example, when a call is receivedby call processing system AB102, a BIR EE322 (illustrated in FIG. 51) isbuilt for the call. BIR EE322 is used by call processing system AB102 tomaintain certain billing information. When BIR EE322 is created orupdated, changes are made to any of several databases within callprocessing system AB102. These databases can be considered part ofmaster database HA106 for the purpose of the discussion of distributionsystem HA100.

Once changes are made to master database HA106, it is important thatthese changes also be made to the slave databases HA110 within callprocessing database HA110. Therefore, the changes made within masterdatabase HA106 are provided to distributor HA102. Distributor HA102determines which of the slave databases HA110 are to receive similarchanges. This occurs in a step HA210.

In a step HA214, distribution system HA102 modifies those databaseswithin call processing database HA10. Once this is done, slave databasescontain information that mirrors information in master database HA106.

FIG. 94 describes the operation of distribution system HA100 at a highlevel. Each of the steps within FIG. 94 are discussed in more detailbelow with reference to FIGS. 93, 94, 97, 99, 100, and 98. FIG. 95 is ablock diagram illustrating a representative architecture of distributorHA102 and master database HA106 in one embodiment. Referring now to FIG.95, master database HA106 comprises, among other tables and files, anESC table HB102, a trigger HB106, and a delta (Δ) table HB110. For eachtable in master database HA106, there are three triggers (insert,delete, and update) HB106 and one delta table HB110. The distributionsystem is described with reference to changes to an ESC table HB102.This description applies to changes to all tables in master databaseHA106 that are mirrored in slave databases HA110.

Distributor HA102 comprises a distribution server HB118, a dealer HB134,a configuration table HB114, and distribution tables HB122. Distributiontables HB122 comprise an audit table HB126 and a net message tableHB130. Queues HB138 can further be provided to distribution server HB118and dealer HB134 to facilitate handling of message traffic. Queues HB138can be used to queue messages to those components.

An example of a distribution server HB118 is the commercially availableOpen Server, available from Sybase, Inc., 6475 Christie Avenue,Emeryville, Calif. 94606.

FIG. 96 is an operational flow diagram illustrating the manner in whichchanges are made to master database HA106. FIG. 96 further describeswhat occurs during step HA202 of FIG. 94. Referring now to FIGS. 95 and96, in a step HB204, data changes for master database HA106 are writtento ESC table HB102. These are the actual changes made to databases andfiles within master database HA106. These changes can include inserts,deletions, and updates to existing data. These changes are referred toas "events" for brevity.

The changes to master database HA106 are made by order entry HA104 orupdates from other applications HA108. One example of order entry HA104is the commercially-available Powerbuilder tool, available fromPowersoft Corp., 70 Blanchard Road, Burlington, Mass. 01803.

In a step HB208, trigger HB106 captures events (changes made to ESCtable HB102 within master database HA106). In a step HB212, triggerHB106 copies these events from ESC table HB102 into delta (Δ) tableHB110. Thus, delta table HB110 is a table containing only the changesmade to ESC table HB102 needed to update slave databases HA110. Deltatable HB110 contains the inserts, updates, and deletions that were madeto ESC table HB102.

In a step HB214, trigger HB106 sends a trigger message HB172 todistribution server HB118 in distributor HA102. Trigger message HB172informs distribution server HB118 that events HB162 are copied intodelta table HB110. This informs distribution server HB118 that there arechanges that need to be made to slave databases within call processingdatabase HA110. As a result of the operations described with referenceto FIG. 96 (step HA202 of FIG. 94), master database HA106 is updated toreflect all changes by order entry HA104 and other applications HA108,and distributor HA102 is informed that there are changes to be made toslave databases HA110. The operation now continues at step HA206 of FIG.94.

Step HA206 of FIG. 94 is now further described with reference to FIGS.97 and 95. FIG. 97 is an operational flow diagram illustrating themanner in which distributor HA102 receives events HB162 from masterdatabase HA106 and updates distribution tables HB122. Referring now toFIG. 97, in a step HB304, distribution server HB118 receives triggermessage HB172 from trigger HB106. This indicates that changes to a tablewithin master database HA106 are made and events HB162 representingthose changes are stored in delta table HB110.

In a step HB308, distribution server HB118 reads events HB162 from deltatable HB110. In a step HB312, distribution server HB118 updatesdistribution tables HB122 based on the information retrieved in stepHB308. Step HB312 is described in greater detail below with reference toFIG. 99.

In a step HB316, distribution server HB118 sends an event indicationmessage HB182 to dealer HB134. Event indication message HB182 indicatesto dealer HB134 that events HB162 were received reflecting changes to atable in master database HA106, and these changes can now be made toslave databases HA110. Distribution server HB118 then continues to waitfor additional trigger messages HB172 as illustrated by feedback loopHB362.

The manner in which distribution server HB118 updates distributiontables HB122 (step HB312) is now further described. FIG. 98 is a diagramillustrating a representative configuration for audit table HB126 in oneembodiment. FIG. 99 is an operational flow diagram illustrating themanner in which distribution server HB118 updates distribution tablesHB122 in one embodiment. Referring now to FIGS. 95, 98, and 99,distribution tables HB122 comprise an audit table 126 and net messagetable HB130. Audit table HB126 comprises a plurality of fields used toindicate which of the slave databases HA110 are to be modified, and withwhat information.

In one embodiment, audit table HB126 is made up of several rows, whereineach row indicates the change to be made and where (in what database)those changes are to be made. In this embodiment, each row of audittable HB126 can include a service number HC104, a server name HC108, apointer HC112, an action HC116, and an update flag HC120. Service numberHC104 and server name HC108 are used to identify the database to bemodified. Pointer HC112 points to a net message HB126 within net messagetable HB130 that indicates the modifications to master database HA106.Action field HC116 indicates the action taken (for example, an insert, adelete, or an update), and update flag HC120 is used to indicate when anupdate according to that row has been made.

Referring now to FIGS. 95, 99, and 98, in a step HB404, distributionserver HB118 converts event HB162 to the proper format to be used toupdate slave databases HA110. This step, if used, can convert eventsHB162 which reflect changes to master database HA106 to events that willreflect similar changes to slave database HA110. Thus, if masterdatabase HA106 is of one type (for example, a relational database) andslave database HA110 is of another type (for example, at tree type), asuitable conversion can be made.

In a step HB412, distribution server HB118 checks configuration tableHB114 to determine whether the slave databases that are to be modifiedbased on events HB172 (using net message HB176) exist within callprocessing system AB102. Configuration table HB114 maintains an activelist of slave databases HB110 existing within call processing systemAB102. Thus, if a database is not listed in configuration table HB114,it does not exist, and therefore cannot be updated.

In a step HB414, if the slave databases that are to be modified based onevents HB172 exist within call processing system AB102 (as determined instep HB412), distribution server HB118 inserts net message HB176 intonet message table HB130. Thus, net message table HB130 contains netmessage HB176 indicating the changes to be made to one or more slavedatabases HA110.

In a step HB416, distribution server HB118 updates audit table HB126 foreach destination as determined by reading configuration table HB114. Inthe embodiment described above, in this step distribution server HB118creates a new row in audit table HB126 for each destination. Each row inthe audit table includes pointer HC112 which points to the net messageHB176 and the name of the slave database HA110 that is to be modifiedusing net message HB176.

In a step HB420 when no destinations exist, distribution server HB118causes event HB162 to be deleted from delta table HB110. This is becauseno changes to slave databases HA110 are required. On the other hand,when destinations do exist, the net message table is updated in stepHB414, and the audit table is updated in step HB416, distribution serverHB118 causes event HB162 to be deleted from delta table HB110. In thiscase, it is now up to distributor HA102 to ensure that the properchanges are made to slave database HA110.

The manner in which distributor HA102 modifies slave databases HA110(steps HA210 and HA214) is now described. FIG. 100 is an operationalflow diagram illustrating the manner in which slave databases HA110 areupdated.

Referring now to FIGS. 95 and 100, in a step HB504, dealer HB134, afterreceiving event indication message HB182, reads the oldest row containedin audit table HB126. Dealer HB134 is looking for specific destinationslave databases HA110.

In a step HB512, dealer HB134 reads the net message HB176 pointed to bypointer HC112 of the row retrieved from audit table HB126. Thus, dealerHB134 knows which net message HB176 to send to the destination slavedatabase HA110.

In a step HB516, dealer HB134 modifies slave databases HA110 using netmessage HB176 as determined in step HB512. Once the modifications aremade to the slave database HA110 as indicated by the row of audit tableHB126, the update flag HC120 in that row is set to indicate that thosechanges have been made.

If more rows exist within audit table HB126 without update flags HC120set, dealer HB134 continues at step HB504 reading the oldest row thathas not yet been used to modify slave database HA110 (i.e., its updateflag HC120 is not set). If no more rows exist, in a step HB528, dealerHB134 waits for the next event indication message HB138 to be received.

One advantage of distribution system HA110 is that triggers HB106 areused to simplify the operations performed and to ensure the integrity ofslave databases HA110 throughout the entire call processing system. Asdiscussed above, a trigger HB106 is called each time a change is made toa table (for example, ESC table HB102) within master database HA106.When this happens, distribution system HA100 captures the changes anddistributes them to all the required slave (destination) databasesHA110. Distribution system HA100 is transparent to the applicationmaking changes to master database HA106. The application making thechanges to master database HA106 is not involved with the process ofmodifying the slave databases HA110 with the same changes.

Another advantage provided by distribution system HA100 is that a deltatable HB110 is used. Conventional systems use remote procedure calls tosend update data to slave databases HA110. This procedure istime-consuming. Conventional methods would mark each affected row in atable as changed, and then periodically query the table to determinewhich rows have changed. Thus all rows in the changed table had to beexamined to find changes. Through the use of delta table HB110, only thedata that is needed to update slave databases HA110 is provided todistributor HA102. Each delta table HB110 captures changes that are madeto its associated table (for example, ESC table HB102). The changes arethen read from the delta table HB110 to be applied to the appropriateslave databases HA110. This method allows the application performing thechange to master database HA106 to continue performing any otheractivities required, while the distribution system makes the changes tothe appropriate slave databases HA110.

Still another advantage of distribution system HA100 is that it does notrequire that updates to all databases be simultaneous. This featureallows slave databases HA110 to be updated at their own pace. If any oneof the affected slave databases HA110 is down, the changes are queueduntil that database HA110 is ready to receive them. Meanwhile, the otheraffected slave databases HA110 can be updated.

5.0 REAL-TIME RECONFIGURATION

Most real-time processing systems rely on having their componentsoperational at all times. System downtime may result in a diminution ofservices provided to customers or a reduction in the amount of productmanufactured over a given time period. Call processing system AB102 isno different. When components of call processing system arenon-operational for whatever reason, the capacity of the system isdiminished. If enough systems are down, this may impact the level ofservice provided to subscribers AA114. For example, consider what wouldhappen if operator consoles AB108 had to be disabled and reconfiguredeach time a change is made in the way a call is processed. For eachconsole taken down, the system would have that much less capacity tohandle operator-assisted calls. Additionally, for a system havingnumerous operator consoles AB108, such a change could take anundesirable length of time to implement.

One solution implemented by the inventors has been to provide systemsthat are highly data-driven. Thus, changes in the way a call isprocessed can be implemented by changing data contained in data files.As a result, operational code does not have to be recompiled toimplement changes. For example, in the validation system the stepsperformed in validating a call are located in a data file in p-codedatabase GA222. Thus, operator console simply notifies validator GA202what type of validation to perform. Validation system AG102 performs thevalidation based on instructions for that type of validation found inp-code database GA222. If a change to the process followed whenperforming that (or any) type of validation is required, the change canbe implemented simply by loading new data in p-code database GA222.

Conventional systems required operator consoles AA108 to perform thevalidation functions. The validation functions were not centrallylocated. If a change to the way in which a call is validated wasrequired, that change had to be implemented in each operator console.This usually meant recompiling code in operator consoles AB108; a costlyand time consuming task.

According to the present invention, simple changes to the data (p-codeGA232) in p-code database GA222 can be made to implement the changes.Changes to database GA222 can be implemented in a number of differentways. In one embodiment, distribution system HA100, as described above,is used to implement changes to database GA222. In an alternativeembodiment, changes can be made directly to p-code database GA222without distribution system HA100.

The manner in which validation methods in p-code database GA222 areimplemented and updated is now described. FIG. 101 is a block diagramillustrating a representative architecture used to update p-codedatabase GA222. FIG. 102 is an operational flow chart illustrating themanner in which p-code database GA222 is updated. Referring now to FIGS.101 and 102, and editor/compiler JA102 is used to create validationmethods in p-code. These methods can be stored on database JA104 forlater modification and are stored onto p-code database GA222 so they canbe accessed by validator GA202. If desired, a call-process databaseserver JA106 can be used as a server to access p-code database GA222.

The method in which p-code validation methods are developed and updatedare now described. In the step JA202, an operator creates a validationmethod using editor/compiler JA102. The operator develops instructionsin editor/compiler JA102 detailing how a particular validation is to beperformed by a validator GA202. An example of editor/compiler JA102 isthe commercially available Powerbuilder Package available from PowersoftCorp., 70 Blanchard Road, Burlington, MA 01803. Editor/compiler JA102allows an operator to create methods using simple English languageinstructions.

In a step JA204, the method created using editor/compiler JA102 iscompiled into p-code by editor/compiler JA102. In a step JA206editor/compiler JA102 is used to debug decompiled p-code.

In a step JA208, once the p-code method is debugged, it can be loadedinto p-code database GA222. Once in p-code database GA222 it can beaccessed by validator GA202 as discussed above in the Validation Sectionof this document.

If desired, the method developed can be stored in database JA104 forredundancy, and/or later access. Database JA104 could be an independentdatabase or file, or could be a database within master database HA106.

It should be noted that validation methods are not limited to beingimplemented using p-code and numerous other conventions could beadopted. In this light, editor/compiler JA102 is not limited tocompiling the method into p-code, but could be used instead to compilethe method into the type of instruction format expected by validatorGA202.

As noted above, in one embodiment, the new p-code methods created and/orupdated by editor/compiler JA102 can be loaded into p-code databaseGA222 using distribution system HA100. This embodiment is now described.FIG. 103 is a block diagram illustrating a distribution system HA100 toupdate p-code database GA222. Referring now to FIG. 103 validationmethods could be stored in a separate data file JA104 (illustrated inFIG. 101) or in master database HA106. Editor/compiler JA104 is used tocreate and/or update validation method as was discussed above withreference to steps to JA202 through JA206 (FIG. 102). However, in thisembodiment, distribution system HA100 is responsible for making theupdates to p-code database JA222.

Distribution system HA100 operates as discussed above in theDistribution Section of this document. Distribution system HA100 allowsJA104 to update master database HA106. Changes to master database HA106are provided to distributor HA102. Distributor HA102 then is responsiblefor distributing the changes to the appropriate databases; in this case,the database to receive the changes is p-code database GA222.Distributor HA102 performs the same change to p-code database GA222 aswas made to master database HA106. These changes could be made to a callprocess database server JA106.

Because the methods are stored and maintained in p-code database GA222,changes to the manner in which calls are validated can be implementedsimply by updating p-code database GA222. Changes in validation methodsare transparent to operator consoles AB108. When operator consolerequests a validation be performed, validator GA202 retrieves the p-codeand performs a validation as discussed above in the validation sectionof this document. If the method changes, the p-code is updated and theoperator console need not change the way in which it requests thevalidation. Thus, changes in the validation methods do not requireoperational software in either the validation system or the operatorconsoles to be edited and recompiled. As a result, those systems do nothave to be taken down to make validation method changes.

6.0 BILLING SYSTEM 6.1 INTRODUCTION TO BILLING SYSTEM

Call processing system AB102 includes a billing system AG108 for ratingthe cost of calls and services, and generating bills to bill subscribersAA114 of call processing system AB102. Billing system AG108 is nowdescribed. FIG. 104 is a high-level block diagram illustrating billingsystem AG108 and its interfaces to operator consoles AB108 and NCPAB104.

Referring now to FIG. 104, billing system AG108 includes a ratingsystem, a rate file LA132, and a toll file LA134. Rate file LA132 storesrate information for long-distance calls and services. In oneembodiment, rate file LA132 can store different rate structures for eachuser AA106 and/or customer AA110. Depending upon the type of ratingused, rates can be stored in rate file LA132 based on the distance overwhich the call is being placed (in other words, the distance betweenoriginating user AA106A and terminating user AA106B), and the time ofday the call is being placed. Rates are typically stored per unit time,thus, rates can be determined as the cost of the call per unit time (forexample, cents per minute).

For other types of calls, flat rates may be established. As an example,consider "900" calls where an originating user AA106A dials a 900+number. In this case, the user is typically billed at a flat rate (forexample, 50¢ per call). The flat rate is fixed and can be independent ofcall distance, the time the call is placed, and the duration of thecall.

Rate file LA132 also stores rates at both the wholesale level and theretail level. Wholesale rates are the rates charged to customer AA110.Retail rates are those rates that customer AA110 charges its subscribers(users AA106) and the rates that a direct subscriber user is charged.Thus, different rates can be established at the wholesale and retaillevel. Wholesale and retail timing is fully described below withreference to FIG. 112.

Toll file LA134 is used to store bill information for billinglong-distance customer AA110. This bill information can include on aper-call basis the wholesale cost of the call, the retail cost of thecall, and taxes levied on the call. Additional information stored intoll file LA134 can include information regarding how the stored rateswere computed for each call. This aids in answering billing questionsand troubleshooting anomalies.

Rating system LA102 accesses rate file LA132 to determine the rateinformation LA124 to rate a particular call. Rating system LA102 usesrate information LA124 to calculate billing information LA126. Ratingsystem LA102 then sends billing information LA126 to toll file LA134 forsubsequent billing to subscribers AA114.

There are two primary scenarios in which billing system AG108 rates acall. A first scenario is where billing system AG108 has requested it toprovide a RATE QUOTE LA132. A second scenario is where billing systemAG108 rates a completed call based on a BIR EE322.

The first scenario of rating a call in response to a request for a ratequote is now described. FIG. 105 is a high-level operational flowdiagram illustrating rating and call in the rate quote scenario.Referring now to FIGS. 104 and 105, in a step LA202, an operator consoleAB108 sends a RATE QUOTE REQUEST LA132 to rating system LA102.RATE-QUOTE REQUEST LA132 includes information required to rate the call.This information can include information such as called party number,calling party number, customer AA110 identification, and otherinformation. RATE QUOTE REQUEST LA132 is a message asking a ratingsystem LA102 to rate the call as listed in the RATE QUOTE REQUEST LA132.

In a step LA204, rating system LA102 retrieves rate information LA124based on the information provided in RATE QUOTE REQUEST LA132. Fornon-postalized rates, rating system LA102 computes the distance usingthe vertical and horizontal coordinates of the originating numberlocation and the called number location. Non-postalized rates, interalia, are discussed in the Billing System Methodologies Section of thisdocument.

In a step LA206, rating system LA102 sends a RATE QUOTE LA134 tooperator console AB108. RATE QUOTE LA134 is typically provided as a costper unit time. In other words, RATE QUOTE LA134 is usually quoted incents per minute.

The second scenario wherein a call is rated in response to a BIR EE322is now described. FIG. 106 is a high-level operational flow diagramillustrating the steps involved with rating a call in response to BIREE322. Referring now to FIGS. 104 and 106, in a step LA302, NCP AB104sends BIR EE322 to rating system to LA102. In one embodiment, thisoccurs when a call is terminated and BIR EE322 is updated with the timethe call terminated. Thus, BIR EE322 includes all necessary informationsuch as calling party number, called party number, start of thewholesale timing interval, start of the retail timing interval, and thetime the call was terminated. In one embodiment, call duration, bothwholesale and retail, is computed by NCP AB104. In one embodiment, thisis accomplished by BSRVR BA108. In an alternative embodiment, callduration is computed by rating system LA102 based on the time wholesaletiming started, retail timing started, and the call terminated asindicated in BIR EE322.

In a step LA304, rating system LA102 retrieves rate information LA124for the call. Again, rate information LA124 can be based on theoriginating user AA106A, customer AA110, the distance over which thecall was placed, the time of day, and the duration of the call.

In a step LA306, the cost of the call is completed based on the rateinformation, and the information in BIR EE322 (for example, start andstop times of the call). The cost can be computed at the wholesale andretail rates, and taxes can be included with the call. This informationis included in billing information LA126. In a step LA304, billinginformation LA126 is sent to toll file LA134.

Additional features can be provided to billing system AG108 as is nowdiscussed. FIG. 107 is a block diagram illustrating billing system AG108with additional functionality. Referring now to FIG. 107, a rate filequeue LA402 is used as a buffer to store billing information LA126 inthe event toll file LA134 is busy or cannot accept billing informationLA126 as quickly as it is sent from rating system LA102. A back-endLA404 monitors rate file queue to see whether billing information LA126has been stored in rate file queue LA402. When billing information LA126is stored in rate file queue LA402, back-end LA404 retrieves thatbilling information LA126 and stores it is the appropriate place in tollfile LA134.

In one embodiment, it may not be optimum to include some or all of thetax information in rate file LA132. In this embodiment, a tax procedureLA406 is included to compute the tax information for the call. Anexample of tax procedure LA406 is the commercially available from Vertexsystem. The Vertex system is available from Vertex, Inc., Berwyn, Pa.,USA. Tax procedure may have an associated database or datafile LA408 tostore tax rate information LA422.

In the event that rate file queue LA402 is full and can no longer holdadditional billing information LA126, this additional billinginformation LA126 is send back to NCP AB104. In this case, NCP AB104retains this data until it can be later sent to toll file LA134.

One feature of call processing system AB102 is that it allows calls tobe rated in real time. Thus, while a call is in progress, that call canbe rated at any point during the call. Additionally, as soon as the callis terminated, the final rate, both wholesale and retail, for the call,can be computed. Now, the subscriber AA114 can be billed for the call assoon as it occurs. A high-level discussion of how calls can be rated inreal time is described above with reference to FIGS. 104 and 106.

A detailed description of real-time rating in response to a BIR EE322 isnow described. BIR EE322 can be sent from NCP AB104 to request a rate orfrom operator console AB108 to request a RATE QUOTE LA134. In the caseof BIR EE322 sent from operator console AB108, BIR EE322 comprises aRATE QUOTE REQUEST LA132.

FIG. 108 is an operational flow diagram illustrating the manner in whichbilling system AG108 prices a call when a BIR EE322 was received.Referring now to FIGS. 107 and 108, in a step LD102, rating system LA102receives a BIR EE322. Receipt of BIR EE322 triggers rating system LA102to rate the call. As mentioned above, BIR EE322 contains all theinformation necessary to rate the call.

In a step LD104, rating system LA102 computes the call jurisdictions. Instep LD104, rating system LA102 looks at the location of originatinguser AA106A and the location of terminating user AA106B. Thisinformation is used to compute the distance over which the call is to berouted. This step is only performed where the rate is based on thedistance of the call. In other words, this step is only performed wherea non-postalized rate structure is used.

In a step LD106, rating system LA102 first determines the wholesale costof the call. The wholesale cost can be determined from the time the callenters call processing system AB102, from the time call audio AA142enters matrix switch AB106, the time audio AA142 enters operator consoleAB108, or any other time defined. This time can be defined uniquely forindividual users for AA106 or individual customers AA110. An example isillustrated in FIG. 112. The manner in which the wholesale cost of thecall is determined is described in more detail below with reference toFIG. 109.

In a step LD108, rating system determines the cost of the call at theretail level. In one embodiment, the retail rate is determined from thetime the call is completed to terminating user AA106B until the timethat either user AA106 hangs up the phone, or otherwise terminates theconnection. The manner in which retail call rating is performed isdescribed in more detail below with reference to FIG. 111.

In a step LD110, rating system LA102 sends billing information LA126 totoll file LA134. As discussed above, in alternative embodiments, billinginformation LA126 may be sent to toll file LA134 by way of a rate filequeue LA402.

Rating system has completed the rating for that particular call andcontinues to monitor LAN LA128 to receive additional BIRs BIR EE322. Ifan additional BIR EE322 is received, the rating process begins again atstep LD104.

The manner at which rating system LA102 determines the wholesale ratefor the call is now described. FIG. 109 is an operational flow diagramillustrating the manner in which rating system LA102 determines thewholesale rate of the call. FIG. 110 is a diagram illustrating the ratesfor calls stored in rate file LA132.

Referring now to FIGS. 109 and 110, in a step LD202, rating system LA102retrieves a wholesale inbound rate LE202 (illustrated in FIG. 110) forthe call. Wholesale inbound rate LE202 is the rate at which the callwill be billed wholesale, to customer AA110, from the time the wholesalerating period begins (when the call reaches call-processing systemAB102, operator console AB108, or terminating user AA106, as discussedabove). If wholesale inbound rate LE202 is not found (decision blockLD204), in a step LD206, BIR EE322 is put in a rerate file LA436(illustrated in FIG. 104). BIRs EE322 stored in rerate file LA436 canlater be processed again. In an alternative embodiment, rerate fileLA436 is not used and a default rate is entered.

If wholesale inbound rate LE202 is found in rate file LA132, the call israted at the wholesale inbound rate. The rate can be based on theinbound start and stop times included in BIR EE322. For example, therate may be cheaper for calls made after 11 p.m. This occurs in a stepLD208.

If BIR EE322 indicates that the call to be rated is completed (decisionblock LD210), billing information LA126 is written to toll file LA134 asdiscussed above with reference to FIG. 108. At this time, only wholesaleinformation is included in billing information LA126, and therefore onlythe wholesale cost is included in toll file LA134. This occurs in a stepLD224.

If BIR EE322 indicates that the call is completed (decision block LD210)the wholesale outbound cost for the call can be computed. This is nowdescribed with reference to steps LD214-LD224. In a step LD214, thewholesale outbound rate LE204 is retrieved from rate file LA132. This isthe per unit rate the wholesale outbound call will use to determine thewholesale outbound cost of the call.

If wholesale outbound rate LE204 is in rate file LA132 (decision blockLD216), in a step LD220, rating system LA102 determines what duration touse to rate the call. In a step LD222, the wholesale outbound cost ofthe call is computed using wholesale outbound cost LE204 and theduration of the call. In a step LD224, the wholesale outbound rate isincluded in billing information LA126 and sent to toll file LA134. Thisoccurs as is discussed above with reference to step LD110.

If whole outbound rate LE204 was not in rate file LA132 (decision blockLD216), in a step LD206, BIR EE322 is put in rerate file LA436.

Periodically, BIRs in rerate file LA436 are retrieved and the ratingsystem LA102 attempts to rate the calls again. Although numerous typesof errors may result in a rate not being computed and a BIR EE322 beingstored in rerate file LA436, most commonly, BIRs EE322 end up in reratefile LA436 because rate information LA124 was not found in rate fileLA132. In this case, when these BIRs EE322 are rerun through ratingsystem LA102, a rate can often be successfully determined by enteringthe correct rate information LA124 in rate file LA132. In this manner,calls that were previously unratable (for example, due to the lack ofrate information LA124 in rate file LA132) can be rated andlong-distance carrier customer AA110 billed for the call. Otherwise, thecall would have to go unbilled and a flat rate would have to becompleted.

The manner in which the cost of the call is determined at the retaillevel (step LD108 in FIG. 108) is now described. FIG. 111 is anoperational flow diagram illustrating the manier in which the retailrate of a call is determined. Referring now to FIGS. 107 and 110, in astep LD302, rating system LA102 retrieves retail rate LE206 (FIG. 110)from rate file LA132. Retail rate LE206 is used to rate the call at theretail level. Typically, the retail rate is applied to the call from thetime the call is completed (in other words, from the time originatinguser AA106A is connected to terminating AA106B) until the call isterminated. That is, until either user AA106A either hangs up orterminates the connection, or the connection is terminated for someother reason.

If retail rate LE206 for the call is not found in rate file LA132(decision block LD304), BIR EE322 is written to rerate file LA436 in astep LD306. As was the case with the operation of computing wholesalecosts, these BIRs EE322 in rerate file LA436 are saved and can bererated later when retail rate LE206 for the call is entered into ratefile LA132.

If, on the other hand, retail rate LE206 is found in rate file LA132(decision block LD304), the retail cost of the call is rated. As withwholesale costs, retail rate LE206 can be set on a per-user AA106 andper-customer AA110 basis.

In one embodiment, taxes may need to be added to the retail rate of thecall. Tax rate LE208 may be found in rate file LA132. However, in analternative embodiment, tax rate LE208 is not included in rate fileLA132 and must be obtained form another source. In this case, ratingsystem LA102 accesses tax module LA406 to retrieve tax rate informationLA422. This occurs in a step LD312.

Billing information LA126 which includes retail cost, and may include atax, where applicable, is sent to toll file LA134 as described abovewith reference to step LD110. This occurs in a step LD314.

Thus, step LD110, wherein bill information LA126 is sent to toll fileLA134 can actually occur in several separate instances for each call. Ina preferred embodiment, billing information LA126 is simply a datarecord that includes the rating of the call. This rating can include awholesale inbound rating, a wholesale outbound rating or a retailrating.

As discussed above, an additional scenario in which rating system LA102rates a call is where operator console AB108 requests a rate quote bysending RATE QUOTE REQUEST LA132 to rating system LA102. In oneembodiment, RATE QUOTE LA132 includes the same type of information in aBIR EE322. In other words, this includes information such as originatingnumber, terminating number, originating user AA106A identification,customer AA110 identification, or any other information requireddepending on the parameters used to rate the call. Once RATE QUOTE LA132is received by rating system LA102, the process by which rating systemLA102 computes the rate quote is the same as the manner in which ratingsystem LA102 computes the wholesale rate for a call in response to a BIREE322 received from NCPAB104. This is fully described with reference toFIG. 111 in steps LD302-LD312. In the case of a RATE QUOTE REQUESTLA132, however, billing information LA126 is not sent to toll fileLA134. This is because rating system LA102 is only providing a quote fora rate of a call to be placed, and is not rating a completed orterminated call. Thus, for quotes, in a step LD316, a rate quoteresponse LA134 is returned to operator consoles AB108. The manner inwhich the RATE QUOTE LA134 may be used by call processing system AB102to rate a debit card call is described in the Real-Time Billing SystemExamples Section of this document.

6.2 WHOLESALE AND RETAIL TIMING

Rating system LA102 uses numerous clocks to allow flexibility whencomputing bills for the calls. Because of this, rates can be computedfor wholesale as well as for retail. Additionally, the times at whichbilling starts for wholesale and retail rates can be defined differentlyfor individual users AA106 or for individual customers AA110.

A preferred embodiment is now described in which billing for the call ata wholesale rate can be started at three different times, and billingfor the call at the retail rate is always started at one tine. FIG. 112is a diagram illustrating times for which wholesale and retail bills arecomputed in one embodiment.

Referring now to FIG. 112, when the call enters call processing systemAB102 (box LL102), in other words, when call audio AA142 is routed tomatrix switch AB106, a first wholesale clock LL162 is started. This isshown by a box LL122. If wholesale clock LL162 is used when billing thecall, the wholesale rate for that call is applied from "time T equalszero" (T=0) until the call terminates, as shown in block LL110. The callterminates when either user AA106 hangs up, or otherwise terminates theconnection, or when other factors force the connection to be broken.

A second wholesale clock LL164 is started when call audio AA142 isrouted to an operator console AB108, as illustrated in block LL104. Thisoccurs for operator-assisted calls. If the wholesale bill is to becompleted using start wholesale clock 2, the wholesale rate is appliedto the call from time T=1 until the call terminates, as illustrated byblock LL110.

A third wholesale clock LL166 is started when call audio AA142 is routedto the destination as illustrated in box LL106. For calls to be billedwholesale from this time, the rate is applied to the call from time T=2until the call terminates, as indicated by block LL110.

For computing the retail bill, a retail clock LL168 is started whenterminating user AA106B answers the call and NCP AB104 receives ananswer message B1D118. This is illustrated by block LL108. In this case,the retail bill is computed by applying the retail rate from time T=3until the call terminates at stops, as indicated by block LL110.

There are numerous ways the wholesale and retail clocks can beimplemented. In one embodiment, the clocks are not timers per se, butthe call is timed using time markers and computing the time between themarkers. For example, for retail billing, when terminating user AA106Banswers at time T=3, and NCP AB104 receives an answer message, NCP AB104updates the BIR EE322 for the call to indicate the time at which theanswer message is received. Similarly, when the call terminates, NCPAB104 notes this time in BIR EE322 for the call.

With these times noted in BIR EE322, rating system LA102 can computecall duration LL142. Rating system LA102 can know which clock to usebased on information contained in rate file LA132. This information canbe uniquely identified for different users AB106 and different customersAA110.

6.3 BILLING SYSTEM METHODOLOGIES

The various billing methodologies that can be provided by callprocessing system AB102 include:

Post-paid, postalized

Post-paid, non-postalized

Post-paid with credit limits, postalized

Post-paid with credit limits, nonpostalized

Pre-paid, postalized

Pre-paid, non-postalized

Post-paid implies that charges accumulated by the account are billed tothe client after the charges were incurred; e.g., monthly, biweekly,etc.

Pre-paid implies that services are paid for in advance. As the serviceis used, it is charged against the pre-paid account's positive balance.

Using a postalized rate structure, billing is based upon a pre-set rateper unit of time (usually minutes) not varying by mileage; for example,20 cents per minute, regardless of whether a call is from Cedar Rapids,Iowa to Iowa City, Iowa or from Cedar Rapids, Iowa to New York, N.Y.

Under a non-postalized rate structure, billing is based upon the dollarvalue of the service, which is variable by distance and time of day.This means that a call from Cedar Rapids, Iowa to Iowa City, Iowa islikely to be less expensive than one from Cedar Rapids, Iowa to NewYork, N.Y., even though the duration of both calls is identical.Non-postalized rate structures may incorporate combinations of distancecharges and time of day charges.

Pre-paid cards allow callers to make long-distance calls or use enhancedservices such as messaging, conference calling, speed dialing, oraudiotext by charging the calls or services against a prepaid account'spositive balance. Two basic types of cards are available--one thatsimply expires when its value is depleted, and one that is"rechargeable." The system has the ability to track calls in progress,interrupt calls to alert the caller of diminishing or remaining time orvalue, and allow callers to replenish the balance. The system also willprovide a warning and terminate calls whose time or dollar value hasbeen exhausted.

Both pre-paid cards and post-paid cards with credit limits are subjectto caps on individual services and on certain destination numbers. Amaximum amount of usage is allowed for either a specified period of timeor a dollar value, as optioned by the card issuer.

6.4 OPERATIONAL AND DATA FLOW DESCRIPTION OF REAL-TIME BILLING WITH ADEBIT CARD

FIG. 113 is an operational flow diagram illustrating the steps involvedin performing real-time billing for a debit card call. FIG. 114 is adata flow diagram illustrating the data flow that occurs duringreal-time billing of a call placed using a debit card.

Referring now to FIGS. 113 and 114, in a step KA102, operator consoleAB108 receives the debit card number KA222 to which the call is to becharged and operator control data AB124. Operator control data AB124 isreceived from NCP AB104. Operator control data AB124 includesinformation about the call regarding the type of call being placed(operator-assisted), and the destination of the call.

Debit card number KA222 is typically provided by originating user AA106Ato operator console AB108. This number can be entered using a touch-tonephone to a VRU AB134. Alternatively, the number can be provided to amanual operator console AB132 verbally.

In a step KA104, operator console AB108 determines the rate for the calland the dollar amount remaining on the debit card. Determining the rateis accomplished as described above with reference to FIGS. 104, 105, and106. To reiterate, operator console AB108 sends a RATE QUOTE REQUESTLA132 to billing system AG108. RATE QUOTE REQUEST LA132 includesinformation needed by billing system AB108 in determining a rate for thecall. Because call rating can be customized for specific customersAA110, or users AA106, the information needed by billing system AG108 incomputing a rate quote will vary based on customer AA110 and user AA106.Typically, the information used to determine a rate can include the timeof day that the call is being placed and, for distance-dependent rates,the origin and destination of the call.

Billing system AG108 then computes a rate for the call in terms of costper unit time. This rate can be computed in a number of differentmanners depending on the embodiment of billing system AG108 implemented.For example, the rate can be computed by performing a simple tablelook-up using the time of day. This works well for a postalized ratestructure that varies for different calling periods but not by mileage.The rate could also be computed using calculations to determine thedistance of the call and multiplying this by the rate per distanceestablished for that customer AA110 or user AA106. This works well for anon-postalized rate structure where billing is based on the distance andthe time of day. Numerous alternative embodiments could be implemented,including one that uses a combination of table look-ups and calculationsto compute the rate.

In a step KA104, billing system AG108 sends a rate quote responsemessage KA134 to the operator console AB108 that requested the ratequote. Rate quote response message KA134 provides the rate at which thecall is to be billed.

FIG. 115 is an operational flow diagram illustrating the steps involvedwith determining the remaining dollar amount on the debit card.Referring now to FIG. 115, in a step KA402, a REMAINING DOLLAR AMOUNTREQUEST KA228 is sent to a debit card data base KA272.

In a step KA406, the dollar amount remaining on the debit card isretrieved from debit card database KA272.

In a step KA408, the dollar amount remaining on the debit card is sentto operator console AB108 in a REMAINING DOLLAR AMOUNT RESPONSE messageKA230.

Returning now to FIG. 113, in a step KA106, the call is validated byvalidation system AG102 where required. For example, the particulardebit card may be validated to determine whether it is valid for placingcalls to the attempted destination, from the originating location, orother like call characteristics.

In a step KA108, debit batch information KA206 is retrieved from debitcard database KA272. Debit batch information KA206 provides informationregarding the debit card being used, such as what alerts to provide tooriginating user AA106 regarding the amount of time remaining in thecall. Debit batch information KA206 can also includes informationregarding how to alert (voice or tone), how to rate (flat or ratequote), how to expire, termination method, etc.

FIG. 116 is an operational flow diagram illustrating the steps involvedwith retrieving debit batch information KA206. Referring now to FIG.116, in a step KA502, operator console AB108 sends a DEBIT BATCHINFORMATION REQUEST KA232 to debit card database KA272.

In a step KA504, batch information KA206 pertaining to the debit cardused to place the call is retrieved from debit card database KA272.

In a step KA506, batch information KA206 is sent to operator consoleAB108 in a BATCH INFORMATION RESPONSE KA234.

Returning now to FIG. 113, in a step KA110, operator console AB108determines whether the dollar amount KA206 remaining on the debit cardis sufficient to complete the call. In one embodiment, operator consoleAB108 simply determines whether dollar amount KA206 is sufficient to payfor the call for a specified minimum call duration at the quoted rateKA202.

If dollar amount KA206 is sufficient, in a step KA112, operator consoleAB108 sends a CALL READY MESSAGE KA236 to NCP AB104. CALL READY MESSAGEKA236 instructs NCP AB104 that the call may be completed to thedestination. In one embodiment, this is accomplished by operator consoleAB108 sending operator response data AB126 to NCP AB104, whereinoperator response data AB126 comprises CALL READY MESSAGE KA236.

In a step KA114, NCP AB104 completes the call. In this step, NCP AB104sends switch control data AB142 to matrix switch AB106, instructingmatrix switch AB106 to route the call to the destination (in otherwords, to destination switch AA104 and/or terminating user AA106B). Atthis time, originating user AA106A can communicate with terminating userAA108B.

If in step KA110 operator console AB108 had determined that dollaramount KA206 is not sufficient to complete the call, operator consoleAB108 takes the steps that are now described. FIG. 117 is an operationalflow diagram illustrating the steps taken by operator console AB108 whendollar amount KA206 is insufficient to complete a debit card call.Referring now to FIG. 117, in a step KA602, operator console AB108informs originating user AA106A that the dollar amount remaining on thedebit card is insufficient to complete the call. This response can beprovided to originating user AA106A by a human operator at a manualoperator console AB132. Alternatively, the response can be a recorded orsynthesized message played to originating user AA106A by a VRU AB134.Custom scripts may be used in generating the response so thatoriginating user AA106A is provided with a customized response such ascalling the user AA106 by name or identifying the name of carrier AA110to which user AA106A subscribes, or identifying the name of the debitcard.

In a step KA604, originating user AA106A is provided with alternativeoptions that may be pursued in completing the call. These options caninclude recharging the debit card, where available, and placing the callby other means such as using a credit card, using another calling card,or placing a collect call. Again, the options provided to user AA106Amay be customized for individual originating users AA106A or customersAA110. Scripts are used to provide this customization. For example,where a manual operator console AB132 is handling the call, a scriptappears on the operator screen. The operator reads the script tooriginating user AA106A. The script provides text to the operatoroutlining the options for that particular user AA106A or customer AA110.

In a step KA606, if originating user AA106A does not choose to completethe call using one of the provided options. In a step KA608, theoperator informs the user that the call cannot be placed.

In a step KA610, operator console AB108 terminates the call. This occursby sending operator response data AB126 to NCP AB104. NCP AB104 in turnsends switch control data AB142 to matrix switch AB106, terminating thecall.

If, on the other hand, in step KA606 if an alternative option waschosen, the system may then proceed to validate the option in a stepKA112. This step may include checking the validity of a calling card, acredit card, or contacting the called party to determine whether thatparty will accept the charges. If the option is validated, the operationcontinues at step KA112, and the call is completed in step KA114. If, onthe other hand, the option is invalid, the user is informed in stepKA608 and the call is terminated in step KA610.

The above text, with reference to FIGS. 113 and 114, described real-timebilling to set up a call being placed with a debit card. Completion andtermination of the debit card long-distance call is now described.

Completing the call should be differentiated from terminating the call.Completing the call means the call is routed from originating userAA106A to terminating user AA106B. Terminating the call means the callis no longer routed to terminating user AA106B and is ended.

FIG. 118 is a data flow diagram illustrating the messages sent incompleting and terminating the long-distance call placed using a debitcard. FIG. 119, which comprises FIGS. 120 and 121, is an operationalflow diagram illustrating the steps involved in completing andterminating a debit card call using real-time billing.

As discussed above with reference to FIG. 113, in steps KA112 and KA114,the NCP received a CALL READY MESSAGE KA236 and instructed matrix switchAB106 to route the call to the destination.

Along with CALL READY MESSAGE KA236, RATE QUOTE DATA KA202 is sent toNCP AB104 so that the call can be billed in real time.

Referring now to FIGS. 118 and 119, in completing the call, matrixswitch AB106 signals the call to ring at the destination (at terminatinguser AA106B). When terminating user AA106B answers the call, an answermessage AB134 is sent to NCP AB104 indicating that the call iscompleted. At this time, originating user AA106A, and terminating userAA106B can communicate via long distance and retail timing of the callbegins. It is at this point that retail charges start accruing for thecall. This is illustrated in step KB202.

In a step KB204, BSRVR BA108 uses rate quote KA202 and elapsed timesince the call was completed to keep track of the cost of the call inreal time. In one embodiment, BSRVR BA108 periodically uses rate quoteKA202 and the duration of the call up to that point to determine thecurrent cost of the call. In this manner, the cumulative cost of thecall is tracked.

In a step KB206, BSRVR BA108 uses rate quote KA206 and remaining dollaramount KA204 to determine when dollar amount KA204 will be exhausted.

In a step KB208, BSRVR BA108 looks at batch info KA206 to determine whenoriginating user AA106A is to be alerted that remaining dollar amountKA204 is almost exhausted. In one embodiment, only originating userAA106A is alerted. This is the embodiment described herein.

For the purpose of this discussion, we assume that in one embodiment,alerts are to be sent to the user indicating when there are 60 secondsremaining in the call and when there are 10 seconds remaining in thecall. In alternative embodiments, alerts could be sent to warn the userat other times or could be sent based on dollar amount remaining. Thisfeature is configurable on a per-subscriber or per-customer basis.

In a step KD210, when there are 60 seconds remaining in the call (inother words, when remaining dollar amount KA204 will be exhausted in 60seconds), NCP BA104 sends an interrupt message (referred to as firstinterrupt message KB122) to operator console AB108. In one embodiment,BSRVR BA108 sends an interrupt message to CMP BA102. CMP BA102 sends themessage to host gateway BA110 and to CRD BA106.

It should be noted that when the call was completed (routed by matrixswitch AB106), operator console AB108 no longer handles the call. Atthis time, operator console AB108 is free to handle other calls, andcall audio AB142 from the debit card call placed in this example is nolonger routed to operator console AB108.

The effect of sending an interrupt message KB122 to CRD BA106 in stepKB210 is that CRD BA106 now allocates an operator console AB108 tohandle the call.

In a step KB212, matrix switch AB106 now routes call audio AA142 throughoperator console AB108. This is illustrated by dashed line KB172. In astep KB414, operator console AB108 provides a first alert message KB124to originating user AA106A. In the embodiment described in this example,first alert message KB124 is to inform originating user AA106A thatthere are fewer than 60 seconds of time remaining on the debit card. Inone embodiment, during this time, terminating user AA106B is routed to astub KB104. In this manner, terminating user AA106B does not hear firstalert message KB124. In an alternative embodiment, the call is routedthrough operator console AB108 so both parties can communicate viaoperator console AB108.

In a step KB416, the call is now routed through operator console AB108,and originating user AA106A is connected with terminating user AA106B,as illustrated by dashed line KB172.

In this document, when operator consoles AB108 are referred to in thismanner, operator console AB108 can be either a manual operator consoleAB132, a VRU AB134, or a customer service console AB136.

In a step KB418, at the time for the second alert, in the exampleembodiment when 10 seconds are remaining, NCP AB104 sends a secondinterrupt message KB124 to operator console AB108. In a step KB420,operator console AB108 informs originating user AA106A that the calltime is almost expired. In the example embodiment, operator consoleAB108 informs the user that 10 seconds are remaining.

In a step KB422, if users AA106A continue to talk, and neither one hangsup, BSRVR BA108A sends a terminate message KB126 to operator consoleAB108. In a step KB424, operator console AB108 hangs up terminating userAA106B. At this time, originating user AA106A is informed that the timehas expired and the call was terminated. This announcement is made usingscripts. Again, these scripts are either automated via a VRU AB134 orprovided vocally by an operator on manual operator console AB132. Thescripts can be customized to a particular user AA106 or to a particularcustomer AA110.

Alternatively, in step KB424, originating user AA106A may be givenoptions other than automatic termination of the call. The script mayindicate that originating user AA106A may enter another debit cardnumber, or that originating user AA106A may choose to continue the callusing a credit card or a calling card. Additionally, if these scriptsare being sent by an automated VRU AB134, originating user AA106A may begiven the option to press "0" to speak to an operator for alternativeoptions.

This embodiment was presented with messages sent only to originatinguser AA106A. Alternative embodiments are contemplated wherein similar,alternative, or additional messages are sent to terminating user AA106B.

In response to first interrupt message KB122, operator console AB108sends a debit complete message KB132 indicating that the call is nowrouted through operator console AB108 (step KB216) and that originatinguser AA106A was alerted (in step KB214). In response to second interruptmessage KB124, operator console AB108 sends a second debit completemessage KB134 to NCP AB104. Second debit complete message KB134indicates that originating user AA106A was informed that call time isalmost expired in step KB220.

In step KB224, operator console AB108 terminated the call. This isaccomplished by sending a termination response KB134 to NCP AB104.Termination response KB134 causes NCP AB104 to send switch control dataAB142 to matrix switch AB106 instructing matrix switch AB106 toterminate the call.

After the call is terminated, system accounting records must be updated.This process is now described. FIG. 204 is an operational flow diagramillustrating the process involved with updating the accounting records.

Referring now to FIGS. 118 and 204, in a step KB302, NCP AB104 sends aBIR EE322 to billing system AG108. Because billing server knows the rateKA202 at which the call is to be charged, BSRVR BA108 recalculates thecharge for the call at periodic intervals. In one embodiment, thisinterval is every second. In this embodiment, the amount that the callcosts is updated every second. This is nearly real time. BIR EE132 issent after the call is completed and the total cost for the call hasbeen calculated by BSRVR BA108.

In a step KB304, billing system AG108 uses BIR EE132 to update accountrecords in a toll file LA134 (illustrated in FIG. 104) for originatinguser AA106A and customer AA110. BIR EE322 includes the cost for thecall, the time the call was initiated by user AA106, the time the callwas completed to terminating user AA106B, and the time the call wasterminated. From this information, billing system AG108 can calculatewholesale and retail costs of the call.

In a step KB306, NCP AB104 updates debit card database KA272 with a newremaining dollar amount KA204. This is the amount of money left on thecard, if any, after the call is terminated. If there is none left, debitcard database KA272 is provided with information as to when the cardexpired.

In a step KB308, debit card database KA272 is updated with debit cardcomplete record KB142 via distribution system HA100. This simplyoverwrites the record send directly to debit card database KA272 in stepKB306. The update in step KB306 is performed so that debit card databaseKA272 is updated immediately in case distribution system HA100 goes downand does not update debit card database KA272 before originating userAA106A attempts to call back and reuse the debit card.

7.0 FRAUD DETECTION AND PREVENTION

Fraud detection and/or prevention is provided by the fraud system PB102of the present invention based on messages and data received from theBSRVR BA108A, the consoles AB108, the billing system AG108, and thevalidation system AG102. Fraud alarms are provided to the fraudadministrator on fraud console(s) PB106, and are stored in respectivealarm files for failed calls in FBNALARMS PA120 and completed BNUALARMSPA116. Reports of fraud activity can be prepared. Real-time frauddetection and/or prevention is provided by the present invention.

7.1 OVERVIEW OF THE FRAUD PROBLEM IN THE TELEPHONE INDUSTRY

Fraud in the use of the telephone system is a very significant problemtoday. Unauthorized users are able to use the telephone system withouthaving to pay for such use. This constitutes fraud. The cost of suchfraud is borne by the legitimate users either directly or indirectly.Where legal responsibility rests with the authorized user, the longdistance carrier can charge the fraudulent calls to the authorized user.Where legal liability does not rest with the authorized user or where,for business reasons, the carrier decides not to assess the authorizeduser, the cost of the fraud must be borne by the carrier. Ultimately,since this fraud reduces the profitability of the carrier, the carriermust increase its rates to its authorized users to make up for lossesincurred due to the fraud. The very real costs associated with suchfraud in the telephone system results in substantial increases in ratesthat would not otherwise occur if such fraud could be prevented.

7.2 SPECIFIC FRAUDULENT METHOD SCENARIOS

For many years, telecommunications carriers have experienced problemswith individuals stealing their services. With the advent of computers,theft of services became easier for the criminal, and carriers of allsizes began to realize higher monetary losses because of fraud.

The inventors have extensively investigated the fraudulent methods usedby criminals to steal carrier services. A short tutorial on thesemethods is presented below. This tutorial facilitates an understandingof the systems and methods of the present invention designed to detectand prevent fraudulent activities.

Toll fraud is committed in a variety of ways, by a variety of people(also called criminals or fraudulent users). Fraud in its most basicform is perpetrated by the fraudulent user or individual who, whentraveling, places a person-to-person collect operator-assisted call tohis home to let his family know he reached his destination. This person,to avoid the toll charges of the long-distance call, will ask to speakto a prearranged fictitious person, or himself. The family has beeninstructed to deny the call (that is, not accept charges so the call isnot allowed to go through) so no charge is incurred, but they know thefamily member has completed his travels. This scenario is perhaps themost common type of toll fraud committed in the U.S.A.

The more costly types of fraud of telecommunications services arecommitted by three principal groups; computer hackers, organizedcriminals, and "phone phreaks" (also called phone manipulators).

The computer "hacker" is an individual who uses a computer to break intoanother computer system or network in an unauthorized manner. Thisbreak-in is done to get information from the computer, such as: creditcard account numbers; secret plans for manufacturers of computer games;and, sometimes even classified documents of government defensedepartments.

The term hacker has its origin in the early days of computerprogramming. The first computers were huge machines with verycomplicated computer programs. Companies would hire computer-literatepeople to "hack" the computer systems to find programming errors thatcould cost the company significant financial losses in down-time or lostrevenue due to billing mix-ups and the like. Eventually, these paidcomputer professionals began to cross the borders looking for otherpeople's computers and their mistakes just for "fun." In early computerespionage cases, data was sometimes destroyed or stolen and sold to thehighest bidder by these original hackers.

Modern day hackers steal long-distance telecommunication services forthree reasons:

(1) They do not want to pay long-distance charges to call into remotecomputer systems;

(2) They do not want to be caught. They know that if they placelong-distance calls through their phone company, the call can be tracedback to them. Theft of computer services is a serious crime in moststates in the U.S.A. Consequently, the hackers want to avoid having thecalls traced back to their computer via the phone lines; and/or

(3) They know that there is a commercial market for the information theysteal from computer systems and long distance carriers.

The second principal group consists of organized criminals. Organizedcrimes, such as drug running, gambling, boiler-room operations, and thelike are made more profitable through the use of stolen credit cards andother billing devices. The criminals are able to complete their businesswithout fear of being traced over phone lines by law enforcementauthorities. Most organized crime members do not actively participate inthe theft of billing devices, but they do employ a number of youngcomputer hackers and "phone phreaks" who are willing and able to providethe needed information for a significant fee.

The third principal group consists of "phone phreaks." The "phonephreak" manipulates long-distance networks by a variety of methods. Thegoal is to place a call the furthest distance possible without payingfor the call, and again, without getting caught.

These three groups and other criminals use several different types ofcriminal strategies to steal telecommunication services. Some of thestrategies investigated by the inventors are as follows:

Many times hackers call into (also termed "ring up") the customerservice department of a carrier and act as an employee of the carrier.The hacker then attempts to get information, such as card numbers, 800numbers, or test loops. The hackers also may make extensive searchesthrough a long-distance carrier's trash ("rubbish") bins in an effort toretrieve printed materials that would further their cause. Specifically,hackers look for training manuals, test maintenance schedules, phonedirectories, business cards, and the like that have been discarded.Using this purloined data, hackers are often able to fool legitimateemployees into divulging proprietary information.

"Phone phreaks" sometimes use computers or other electronic devices toaccess the long-distance telecommunications networks. The most commondevices used are electronic tone generators referred to as "Boxes."There are several types of "Boxes" in use worldwide. The most popular isthe "Blue Box" which is a tone generator packaged inside either acalculator or some other small box or enclosure (the first one found wasblue, which accounts for the name). The tones of the blue box resonateat 2600 Hz, which is the signal used by long distance switches in theU.S.A. to signal a disconnected call from the terminating end office tothe originating calling office. Other types of "boxes" include "BlackBoxes," "Red Boxes," and "Cheese Boxes." "Black Boxes" prevent answersupervision from returning to the originating Calling Office (CO), andthus prevent billing of the call. "Red Boxes" emulate the sounds made bycoins dropping through a pay phone and signal to the phone company toopen the voice path for dialing and speaking. "Cheese Boxes" allowredirection of calls, or Call Forwarding as the term is used in theU.S.A.

Another form of telecommunications theft used frequently by hackers andby "phone phreaks" involves a computer program that, utilizing a speeddialer, allows them to dial into a long distance telecommunicationnetwork. Once in a telecommunications network, an authorization code anda target number (usually another computer) are attempted to determine ifthe code processes the call. If the code dialed is valid, the computerwill receive answering modem tone from the target computer, and storethe good code in its memory. The program then instructs the computer tohang up, redial the access number again, increment the authorizationcode in some manner, and redial the target computer. This process can beset to run automatically by setting a range of codes for the computer totry dialing, or by a specified length of time. The average program cangather one valid six-digit code for every eight to ten attempts. Thelonger the number of digits for the code, the longer it takes to hack.The codes are then shared or sold to other hackers.

Another frequently used method of obtaining authorization codes involvesa confidence scam or game. The perpetrator calls a consumer late atnight and identifies himself as a security investigator with one of thelong-distance carriers, for example. He tells the consumer that hercredit card is currently being used by someone to place large numbers ofinternational calls. He explains that, in order to stop the calls, hemust have the customer reveal her credit card number to the"investigator." Many customers do, in fact, give up the number, and theperson posing as the investigator then takes the card number and sellsit to people to place the illegal calls. There are several differentvariations of this scam currently being used in the U.S.A.

Many times these confidence games are used to provide free calling forillegal telemarketing ventures. The criminal sets up a fraudulent"front" company and begins telemarketing to areas of the country,offering expensive appliances, vacations and the like for minimal fees.The purchases must be made with credit cards, and, when they get thecard number from the customer, they sell the number to others, or chargethousands of dollars of equipment that is then delivered to remotelocations and resole.

Hackers have also been known to spend time at major metropolitanairports or train stations observing customers placing calls and copyingdown their credit card numbers for later sale or personal use. Forexample, suspects in New York City's Union Station have been arrestedfor using video cameras with powerful zoom lenses to pick up people'scalling card numbers from across the waiting room.

Subscription fraud, which is defined as the intentional application forservices for supplying fraudulent information, is a fast growing problemin the U.S.A. This type of fraud can easily cost a telecommunicationscarrier large sums of money in bad debt. Few states in the U.S.A. havelaws against this type of activity, and so there is maximum gain forminimum risk and output on the part of the criminal. The most commoncase of subscription fraud occurs when people set up accounts in aresidence for multiple telephone lines, then sell the services to peopleon the streets of the city. When the bill for the services arrives, theperpetrators of the subscription fraud move to another location, and thetelecommunications carrier does not know a problem exists until 90 daysor later when they try to collect on the account.

As carriers have tightened their defenses against hackers and phonephreaks, these individuals have directed their attention toward easierfraudulent activities. These fraudulent activities involve PrivateBusiness Exchanges (PBX's) and Customer Premise Equipment (CPE), whichhave become the target of massive fraudulent campaigns by the criminalcommunity. Many PBX's for example, have 800 numbers for incoming DirectInward System Access (DISA), which allows the owners of the PBX to makelong-distance calls from remote locations, with billing to occur fromthe customer's PBX. The criminals have discovered how to access theseDISA trunks, almost undetected, and have placed millions of dollars(U.S.A.) worth of fraudulent long-distance calls. The long-distancecarriers are holding the equipment owners responsible for the charges,and the equipment owners often have no recourse for recovery of theirlosses from the criminals.

Many equipment owners are not even aware that they have the DISAfunction in their equipment, and so are caught completely unaware whentheir phone bill is received from the long-distance carrier. Equipmentowners have been billed for as much as U.S. $1 million for fraudulentcalls made through their PBXs. First tier carriers are now launchingmajor campaigns to educate the business community on the dangers of PBXfraud, and are even offering "insurance" plans of service in case of anoccurrence of fraud.

Voice mail systems (VMS) are also a common target of "phreaks" andhackers. They take over a company's voice mail system, and change allthe user boxes into "code lines." The criminals post stolenauthorization codes and credit cards on the VMS, and hackers call in andretrieve the information for their own criminal use.

The research of the inventors reveals that the most common perpetratorsof telecommunications fraud are usually found in one of three groups:

(1) College students;

(2) Prisoners in prisons, and inmates of mental institutions; or,

(3) Military personnel.

These three groups of perpetrators of telecommunications fraud have anumber of things in common:

(1) Limited access to money to pay large phone bills;

(2) Far from home and family;

(3) Ready access to information and personnel to further scams andschemes; and/or

(4) The desire to circumvent the system.

College students usually are involved in schemes to defraud phonecompanies through operator-assisted calls. College students illegallyuse calling cards belonging to others to place their calls, and oftenpost the cards on pay phones around the college campus. Their goal is tohave so many users on the cards that the phone company will not be ableto trace them all. They are also often guilty of placing thirdparty-billed calls without permission or authorization.

Prisoners have perfected the art of manipulating the phone service tosuit their needs. While most prisons restrict the numbers available toinmates to call, the prisoners have myriad methods to evade theserestrictions. The most common method of getting around restrictions tocalled numbers is for the prisoner to call an allowed party, such as aspouse or friend, who will conference the call onto third and fourthparties to whom the prisoner wishes to speak.

Another common method is for the prisoner to place a collect call to acompany, such as a telephone company, and ask the switchboard operatorfor the accounting department. When they are connected, the prisonertells accounting to switch him back to the switchboard, as she gave himthe wrong extension. The accounting person complies, and now theswitchboard operator sees an internal extension on her console andthinks the caller is internal to the company. The prisoner asks for anoutside line, which the operator gives him, and he places a longdistance, often international, call which is billed to the company.

Military personnel most often abuse the calling cards belonging to theparents of another soldier who foolishly shows someone his or her card,or who places a call for someone as a favor. Thousands of dollars (U.S.)have been lost in this type of situation, and the carrier has greatdifficulty holding the parents responsible for the charges on theircard. The military authorities see this problem as a civilian matter andoften refuse to cooperate in pressing charges or recovering losses. Forexample, one large carrier recently attempted, unsuccessfully, toprosecute a number of soldiers from a foreign country who were trainingon a U.S. base and made U.S. $20,000 in calls on a stolen card.

7.3 REPRESENTATIVE FRAUD DETECTION AND PREVENTION SYSTEM AND METHOD

This aspect of the present invention is a fraud system and method whichdetects and prevents fraudulent use of the telephone system by anunauthorized user. The inventors have carefully identified the typicalscenarios where fraud takes place. The present invention detects,monitors, and prevents such frauds from taking place on a real-timebasis so that the integrity of the telephone system can be maintained.In this way, significant cost savings can be obtained ultimately by thecarrier using the present invention.

This explanation of the fraud detection and prevention system AG112,shown in relation to the other associated systems in FIGS. 173, 174 and175, first presents the architecture, data flows, and method ofoperation of a generalized version of the fraud detection and preventionsystem AG112. In Section 7.4 below, fifteen specific fraud detection andprevention scenarios (functionalities) produced by the present inventionare discussed in detail. It should be noted that the present inventionis not limited to the specific fraud scenarios that are shown, and canbe used in other fraud detection and prevention applications.

In summary, the fraud detection and prevention system AG112 allows forreal-time detection and prevention of fraud. It handles both calls thatsuccessfully complete (go through), and calls that fail. The fraudsystem is an integrated system that monitors manual operator consolesAB132, automated VRU consoles AB134, as well as BSRVR BA108 and thebilling system (AG108). Specific fraud consoles PB106 are provided tofraud administrators assigned to the task of fraud detection andprevention. These individuals can monitor the operation of any call inthe system in real-time and take the necessary actions for frauddetection and prevention. Automatic database storage of critical dataassociated with detection and prevention is provided. The architectureof the system allows for specific fraud scenarios to be detected andprevented, as discussed below in detail with respect to fourteenspecific identified scenarios. The present invention is robust enough toaccommodate additional fraud scenarios in the future.

FIGS. 173, 174, 175, 179 and FIG. 176, which comprises 177 and 178, arethe important figures for reference in connection with this explanationof a generalized version of fraud detection and prevention system AG112.In addition, FIGS. 179-203 show the specifics of the capability of thepresent invention to detect and prevent specific fraud scenariosdiscussed below.

Turning now to FIG. 173, a relationship of the fraud detection andprevention system AG112 to other relevant systems in the presentinvention is shown. FIG. 173 is a high-level architectural block diagramshowing the relationship and interfaces of fraud detection andprevention system AG112 with regard to the other relevant systems(components) and showing the communications pathways between the same.Referring now to FIG. 173, fraud detection and prevention system AG112comprises a fraud system PB102 which performs the fraud detection andprevention, and associated fraud consoles PB106 connected by a LANcommunications link PB104. Fraud detection and prevention system AG112via fraud consoles PB106 provides real-time and stored information tofraud administrators (not shown). This information allows the fraudadministrators to interact with the fraud detection and preventionsystem AG112 on a real-time basis so as to effect the necessary actionfor fraud detection and prevention. The fraud detection and preventionsystem AG112 is connected via LAN AB128 to the other relevant systems(components) in the present invention. Specifically, fraud detection andprevention system AG112 is connected by LAN AB128 to the BSRVR BA108A.Fraud detection and prevention system AG112 is connected to the ratingsystem LA102 by the communications link provided by LAN AB128, and alsoby this communications link to the validation system AG102. The humanoperators can communicate with users AA106 via manual operator consolesAB132 (see FIG. 175). In addition, the voice response units (VRUs) AB134which automatically interact with the users AA106 are in communicationwith the fraud detection and prevention system AG112 by LAN AB128. Asshown in FIG. 173, the manual operator consoles AB132 and VRUs AB134 arecombined and represented in box AB108 for brevity.

In the fraud detection and prevention system shown in FIG. 174, specificcommands (messages) are provided between specific systems (components)shown in FIG. 173. FIG. 174 is a data flow diagram showing the flow ofthe important commands (messages) to and from the fraud detection andprevention system AG112 and the other systems (components) of thepresent invention.

Referring now to FIG. 174, the BSRVR BA108A provides FRAUD MESSAGESEE324 to a fraud system PB102 of the fraud detection and preventionsystem AG112. Fraud messages EE324 comprise a start-of-call messagePA182, an intermediate-long call message PA180, and an end-of-callmessage PA178. These three messages, as discussed below, are used byfraud system PB102 to monitor calls that do not fail and are completed.

In addition, fraud system PB102 sends messages to and receives messagesfrom validation system AG102. These messages are denominatedquestionable uses PC104. These messages, as discussed below, are used toprovide for validation of calls through the system.

After a call is terminated, fraud system PB102, as discussed below,needs to receive cost information associated with that call. Thisinformation is provided by the rating system LA102, and is called RATEDCALL DATA PA172. RATED CALL DATA PA172 can include the retail cost andthe wholesale cost of the call that is completed and is terminated.Unlike traditional systems in which call rating is performed at sometime later in a batch process, the availability of real-time rating inthe present invention means that an immediate notification is possiblewhen a particularly expensive call has been made. Since these types ofcalls are more likely to be made by hackers, and since they are the mostdamaging to the carrier, it is extremely valuable to be able to monitorthem as they occur.

The present invention also keeps track of failed calls, since failedcalls provide data about fraudulent patterns that may be occurring. Thisinformation is critical for the detection and prevention of fraud infour specific scenarios, as discussed below. The data relating to failedcalls are provided by the manual operator console AB132 and the VRUsAB134 (which together comprise CONSOLES MOC/VRU AB108), and are calledFAILED CALL ATTEMPT PC102.

Fraud personnel, also called fraud administrators (not shown), whoprovide the fraud detection and correction interact with the systemusing fraud consoles PB106. Fraud consoles PB106 provide data visuallyand audibly on a monitor, and in hard copy form, to the fraud personnel.Fraud personnel provide input data for interaction with the fraud systemPB102. The information concerning possible fraud activity is denominatedALARMS PA170, and the data providing interaction between the fraudpersonnel and the fraud system PD102 is denominated QUERIES PA168.

An example architecture of the fraud system PB102 is shown in blockdiagram form in FIG. 175. In summary, the architecture of the fraudsystem PB102 is divided into three parts: a first part for documentationwhich comprises the reports module PA108; a second part for completedcalls which comprises billed number usage (BNUSAGE) PA104 and fiveassociated data files (PA110 to PA118); and a third part for calls thathave failed using a failed billing number usage module PA106 (FBNUSAGE)and four associated modules (PA120 to PA126).

Referring first to the services provided by fraud system PB102, thereports module PA108 provides log reports and special requests, asdiscussed below in Section 7.5. This information is provided to aprinter PA130 by a data path PA128. This data can be provided uponcommand by fraud system PB102 via fraud console PB106, and also byoperators at the manual operator console AB132. They can also be presetto run at specified intervals (for example, every 3 hours).

Calls that process go through the system are handled by the billednumber usage module PA104 (BNUSAGE). BNUSAGE PA104 interacts with fivemodules, PA110 to PA118, as discussed below. Perhaps the most importantof these modules is the short billing information record file modulePA110 (labeled SBIRFILE). SBIRFILE module PA110 receives truncatedbilling information record data from the BSRVR BA108A. Specifically,BSRVR BA108A provides START-OF-CALL DATA PA182, INTERMEDIATE-LONG CALLDATA PA180, and END-OF-CALL DATA PA178. In addition, rating system LA102provides RATED CALL DATA PA172.

The truncated BIR information is archived in a circular database PA134(the circular aspect is indicated by the asterisk on FIG. 175, and thisconvention is used for the other circular databases shown in PA1). Thedata is provided to the circular databases PA134 via a datapath PA132.

The term "circular," as used with the database, means that informationis automatically deleted in the order in which it was put onto thedatabase when the database becomes full. In other words, the oldestinformation in the circular database is deleted first. In this way, thecircular database is maintenance-free, since no deletion is necessary byan operator or an external program. A suitable database used for PA134and the other databases shown in FIG. 175 is a Sybase model. Sybase isavailable from Sybase, Inc., Emeryville, Calif. 94606.

A threshold file, called the billing number usage threshold file modulePA114 (BNUTHRS), accesses specific parameters concerning billing numbersin the system. These parameters can either be global, which means thatthey apply to all billing numbers in the system, or can be specific to abilling number (called special). These parameters are also calledthresholds. They are used to determine whether the data on a specificcall indicates a possible fraud scenario.

Any particular parameter can be stored in BNUTHRS PA114. Representativeof these are the following parameters, also called thresholds, asfollows:

10 or more attempts on a single billed number in 15 minutes

2 or more calls per billed number with different ANI in 5 minutes

2 or more calls per billed number with different NXX in 5 minutes

2 or more callsper billed number with different NPA in 60 minutes(except geographical border NPAs)

10 or more current active calls with same billed number

completed call exceed 60 minutes

BSRVR warning on long call (every 30 minutes)

call international

call exceeds U.S. $5.00 wholesale cost

call exceeds U.S. $5.00 retail cost

number of reoriginations exceeds 10

800 POTS changes exceed 3 in 24 hours, with audible alarm

It should be understood that these are merely representative and purelyfor purposes of illustration. The present invention contemplates anytype of parameter/threshold. A database PA142 stores and provides thisparameter or threshold data via a datapath PA140. In one embodiment,database PA142 is not circular.

When the present invention determines that a parameter/threshold hasbeen exceeded, an alarm is activated or triggered. The informationrelating to this alarm is provided by BNUSAGE PA104 to a billing numberusage alarms file module PA116 (BNUALARMS) for storage. A circulardatabase PA146 is supplied with this alarm data by a data pathway PA144.The alarm data is provided as alarm data PA170 to the fraud consolePB106 via BNUSAGE module PA104. Alarms are visual and audible accordingto specific frequency, time duration, and the like.

A callhandle file module PA118 (CHANDFILE) is provided with callhandleinformation by BNUSAGE PA104. A circular database PA150 stores andprovides the call data by a data pathway PA148. Database PA150 providesa cross reference between the call handle and the billing number used inthe file.

The billing number for each call is used by the fraud system PB102 toidentify the call. This data is provided to a billing number usage filemodule PA112 (BNUFILE). PA112 creates a BNU record for each billednumber. A representative BNU record for an ANI showing the data field isfound in Fraud FIG. 179. It includes, for example, the billing number,the billing method, current uses, and a list of the last `N` attempts ofcalls (including time, ANI, call information, and the like). If a billednumber is not used for a particular time period, such as between 30 and45 days, the billed number is deleted from the system so as toreallocate storage space in the database file PA138. Database file PA138receives the data from a data via PA136. This database uses a billednumber search strategy.

The fraud system PB102 also monitors and tracks calls that have failed.Failed calls provide critical information concerning fraudulentactivities that may be occurring. It is therefore important that thefraud system PB102 analyze these failed calls and keep an historicalrecord of them. This allows the fraud personnel (not shown) to detectand prevent fraud. Failed calls are analyzed by the failed billingnumber usage module PA106 (FBNUSAGE).

With respect to failed calls, perhaps the most important module is theshort failed billing number file nodule PA126 (SFBNFIL), which isprovided with a truncated failed billing number record. Specifically,operator consoles AB108 provide failed call attempt data PA176. Theshort failed billing number data is stored in and retrieved from acircular database PA166 via a data pathway PA164. A suitable database isSybase, of Sybase, Inc., Emeryville, Calif. 94608.

The parameters or thresholds relating to failed billing numbers arestored in a failed billing number threshold module PA122 (FBNTHRS). Theparameters or thresholds are stored in and provided from a databasePA158 by a data path PA156. These parameters or thresholds are used forthe fraud scenarios based on failed calls.

Whenever an alarm is triggered based on a parameter or threshold fromFBNTHRS module PA122 being exceeded, this alarm information is providedto the failed billing number alarm module PA120 (FBNALARMS). The alarmdata is stored in and provided by a circular database PA154 via a datapath PA152. In turn, the alarm data PA170 concerning the failed billingnumber is supplied by the FBNUSAGE PA106 to the fraud console PB106.

The information relating to each billing number having a failed billedcall is supplied by FBNUSAGE module PA106 to a failed billing numberusage file PA124 (FBNUFIL). Each failed call creates a record in theFBNUFIL PA124. A representative BFNU record showing failed call attemptdata PA176 is shown in FIG. 179. Two FBNU records are created for eachfailed call: a first for the originating ANI, and a second for aterminating ANI (also called the "called number").

A suitable form for implementation of fraud system PB102 is a databaseserver. The database server can be on a single platform or multipleplatforms as required. Any type of operating system can be utilized. Asuitable type is one using UNIX™ OS/2.

A data flow for a generalized fraud detection and prevention scenario inaccordance with the present invention is shown in block diagram form inFIG. 176. FIG. 176 comprises a first FIG. 177 and a second FIG. 178.This flow applies to the completed call scenario and to the failed callscenario.

Referring now to FIG. 177, a first step is a wait for data step asindicated by a block PD102. The data is then received, as indicated by adata received block PD104. If the data indicates a call has beenterminated, a record needs to be written to the SBIRFIL module PA110, asindicated by a step PD106. Messages indicating that a call has beencompleted include: (1) START OF CALL PA182; (2) INTERMEDIATE-LONG CALLPA180; (3) END OF CALL PA178; (4) rated call data PA172; and, (5)questionable uses PC104. Alternately, if a call has failed to gothrough, a record needs to be written to the SFBNFILE module PA126, asindicated by step PD106. A message indicating that a call has failed isFAILED CALL ATTEMPT PA176.

The shortened billing information record (SBIR) is then stored inSBIRFILE PA110. The shortened failed billing number record (SFBN) isthen stored in the SFBNFILE module PA126. This storage is indicated by astep PD108. The usage record then needs to be either or obtained andupdated if it is in existence, as indicated by a step PD110. The SBIR isused to obtain the BNU, and the SFBN is used to obtain the FBNU.

With respect to a call that has been completed, the billing number usage(BNU) record for that number must be obtained from BNUFILE PA112, asindicated by a step PD112. Similarly, if a call fails to go through, thefailed billing number usage (FBNU) record needs to be retrieved from theFBNUFILE module PA124, as indicated by step PD112. As an aside, FraudFIG. 179 shows representative examples of BNU record (for a completedcall), and a FBNU record (for a failed call).

The data flow diagram from FIG. 177 extends to FIG. 178, as indicated bythe reference circle PD114. Referring now to FIG. 178, the BNU recordfor a completed call and the FBNU record for a failed call needs to beupdated in the respective BNUFILE module PA112 or the BRNUFILE modulePA124, as indicated by a block PE102.

With respect to a completed call, the parameter or threshold informationfor the billed number needs to be checked to determine if a fraudscenario has been detected and an associated fraud scenario alarm needsto be triggered. In this regard, the threshold record for the billednumber of the completed call is obtained from the BNUTHRS module PA114,as indicated by a step PE104. Alternatively, for a failed call, thethreshold record for the failed billed number is obtained from theFBNTHRS module PA122, as indicated by step PE104.

The next step is to determine whether a fraud scenario has been detected(which is also referred to as triggering an alarm). With respect to acompleted call, the parameters (thresholds) for the billed numberobtained from the BNUTHRS module PA114 are compared to the correspondingdata from the BNU record in order to determine whether the fraudscenario (alarm) has been found. If no alarm is found, the data flowreturns to wait for data step PD102, as indicated by the loop pathwayPD118. Alternately, if an alarm has been found (fraud scenariodetected), as indicated by the YES on data path PD108, the alarm (fraudscenario) data needs to be saved in the billing number usage file in theBNUALARMS module PA116, as indicated by a step PD110. Thereafter, analarm indicator detection of the fraud scenario is sent to the fraudconsoles PB106 indicating the alarm condition with respect to thecompleted call, as indicated by a step PD112. Thereafter, thegeneralized fraud detection and prevention scenario returns to wait fordata step PD102.

Similarly, for a failed call, if fraud scenario (alarm) is determined tonot have occurred, the data flow returns to wait for data step PD102. Ifa fraud scenario (alarm) has been determined to have occurred, however,this is indicated by the YES condition on data path PD108. The detectionof the fraud scenario is performed by comparing the parameters(thresholds) for the failed number obtained from the FBNTHRS modulePA122 with the corresponding data from the FBNU record for the failednumber. The alarm is saved in the FBNALARMS module PA120, as indicatedby step PD110. In addition, an alarm indicating detection of the fraudscenario sends an alarm to the fraud console PD106, indicating thecondition of the failed call, as shown by step PD112. Thereafter, thegeneralized fraud detection and prevention scenario, via pathway PD118,waits for new data, as indicated by step PD102.

7.4 SPECIFIC FRAUD DETECTION AND PREVENTION CAPABILITIES

The system and method of the present invention using the fraud systemPB102 and the fraud consoles PB106 in connection with the other systemsof the present invention ,is shown in FIG. 175, 173, and 174 allow thefraud administrator (not shown) to detect and/or prevent a significantnumber of specific fraud scenarios which have been identified by theinventors. FIGS. 180-195 show the fraud detection and preventioncapability of the present invention against the specific fraudscenarios.

Referring now to FIGS. 180-195. There are fifteen different frauddetection and/or prevention scenarios in accordance with the presentinvention which are described below. At a high level they all utilizethe architecture, method of operation, and data flow of the fraud systemPB102 and fraud consoles PB106 described above in Section 7.3. These arerepresentative of the present invention and should not be viewed asbeing the only detection and prevention scenarios that can be provided.

The fraud detection and/or prevention capability of the presentinvention can provide real-time alarms that can be grouped into twocategories: (1) those alarms which occur with a failed call attempt; and(2) those alarms which occur with a completed call. With respect tocompleted calls, the present invention can provide certain alarms at thebeginning (start) of the completed call, after the completed call hasbeen in existence for a specified amount of time, and after the billingdata has been determined for the completed call that is terminated. Itshould be understood that a specific failed call or completed call cancause one or more alarms to occur. It should also be understood that thepresent invention can be configured so that the alarms can be customizedat any level of granularity from specific carrier, to specific end user,and all the way down to a particular billing number or originating ANIor called number, etc. This ability to configure the fraud system PB102as well as real-time fraud detection and/or prevention greatly enhancesthe capability of the present invention to detect and/or prevent fraud.

7.4.1 Failed Call

Set forth below are descriptions for four fraud detection and/orprevention scenarios in connection with the present invention whichoccur with a failed call. A failed call is one where the validationsystem AG102 prevents a call from being completed because it fails oneor more parameters. As discussed in section 7.4.1, these failedparameters, for example, can include a blocked originating ANI, ablocked terminating ANI, a blocked billing number, two or moresimultaneous calls on a debit card where the second call is blockeduntil the first call is completed (see section 7.4.2.5), a blocked NPA,a blocked NPA/NXX, denied validation, invalid format of a card, invalidcalling areas, or a customer fails to complete dialing all the necessarydigits and disconnects, and the like.

One or more of the four fraud detection and/or prevention scenarios setforth below in accordance with the present invention can occur on asingle failed call. The failed call attempt scenario of Section 7.4.1.1will always occur for any failed call. However, in addition, the failedcall can also result in one or more of the other three scenariosoccurring. In some extreme situations, a failed call can result in allof the four scenarios occurring.

These four scenarios are particularly effective for detecting theactivities of a hacker or phone phreak who is trying to gainunauthorized access to the telephone system to commit fraud. Thedetection and/or prevention of fraud for each failed call providesreal-time information to the fraud personnel (administrator) on thefraud console(s) PB106 so that she can take appropriate action toprotect the telephone system. Her actions can stop additional fraud fromoccurring because the attack on the telephone system can be immediatelydealt with so that additional precautions can be taken. Failed callsprovide the fraud administrator with extremely valuable informationconcerning attempted fraudulent activities that have not yet causedeconomic harm to the telephone system but if not known and not acted oncan and often will result in great financial loss after the hacker orphone phreak has achieved access into the telephone system.

7.4.1.1 Failed Call Attempt

The FAILED CALL ATTEMPT MESSAGE PA176 is provided by the operatorconsoles AB108 to the fraud system PB102, as shown in FIG. 175.Referring now to FIG. 179, FIG. 180, and FIG. 181, the failed callattempt scenario is discussed. FIG. 179 shows a representative FBNUrecord, which is stored in the FBNUFILE PA124. Each failed call resultsin a FBNU record being created, or update if already in existence, forthat failed call.

FIG. 180 shows at high level block diagram of the four fraud scenariosthat can be detected and/or prevented in accordance with the presentinvention for a failed call. FIG. 181 breaks out the specific failedcall attempt scenario of FIG. 180.

The FAILED CALL ATTEMPT MESSAGE PA176 is received from the consolesAB108 by fraud system PB102. The receipt of the FAILED CALL ATTEMPTMESSAGE PA176 is indicated by a PP102, as shown in FIG. 180 and FIG.181. The SFBNFILE PA126 stores the failed call attempt message PA176.The SFBN is used to obtain the FBNU record for the failed call, and toupdate it. The failed call attempt parameters (thresholds) stored in theFBNTHRS module PA122 are obtained, as indicated by a box PP104. The FBNUdata for the failed call from the FBNUFILE PA124 is compared with thethresholds (parameters) from FBNTHRS PA122 in a decision box PP106 todetermine it one or more of the thresholds (parameters) have beenexceeded. If no threshold has been exceeded, the failed call attemptsscenario has not been detected as indicated by a NO flow line PP108.Thereafter as indicated by a DONE block PP110, the FBNU record for theoriginating ANI is updated and the FBNU record for the terminating ANI(also referred to as the called number in FIG. 180) is updated for thefailed call. The records of the last `N` attempts are updated in thesetwo FBNU records in order to reflect the failed call.

In contrast if one or more of the thresholds has been exceeded, asdetermined by decision block PP106, the failed call attempt scenarioproceeds to a YES flow line PP112. A failed call attempt alarm is thengenerated, as indicated by a block PP114. The failed call attempt alarmis provided to two parts of the present invention. The first part is thefailed fraud attempt alarm provided to fraud console(s) PB106, asindicated by an alarm line PA170. In addition, the alarm data is storedin the FBNALARMS module PA120, so that the failed call attempt alarminformation can later be retrieved by fraud personnel. This alarminformation is available for detection and/or fraud preventionactivities and archival purposes. After these two activities have beencompleted, the failed call attempt scenario proceeds to a DONE blocklabeled PP116. This completes the failed call attempt scenario FRAUD500.

7.4.1.2 Hot Originating ANI

The fraud detection and/or prevention scenario in accordance with thepresent invention for a hot originating ANI is now described. Asdiscussed elsewhere, the originating ANI is a ten-digit numberindicating the number from where the call originated (it does notinclude the country code). "HOT" means that the number has beenpreviously identified as being one from which or to which fraud isoccurring). Reference is made to FIG. 180 and FIG. 182. FIG. 182 showsthe steps of the scenario for both a hot originating ANI and the stepsof the scenario for a hot terminating ANI (also referred to as a hotterminating number.

The hot originating ANI scenario is typically performed after the failedcall attempt scenario is performed, as discussed above in Section7.4.1.1.

Referring now to FIG. 175, FIG. 179, FIG. 180 and FIG. 182, the failedcall attempt message PA176 is received by fraud system PB102 fromconsoles AB108, as indicated by block PP120. Failed call attempt messagePA176 is stored in SFBNFILE PA126. The hot originating ANI parameters(thresholds), as indicated by a block P120, using the SFBN are obtainedfrom FBNTHURS PA122. These parameters indicate whether the HOT FLAG inthe FBNUFILE PA124 need to be checked. Next, in decision block PP106,the HOT FLAG field in the FBNU record is checked to determine whetherthe originating ANI of the failed call is hot.

If the failed call originating ANI is determined by decision block PP106not to be hot, the hot originating ANI fraud scenario proceeds via a NOflow line PP102 to DONE block PP110. The FBNU record for the failed calloriginating ANI is updated to reflect this last call in the FBNU recordPO402. Thus, it can be seen that all failed calls are examined by thisfraud scenario to determine if the failed call was from a hotoriginating ANI.

Alternately, if decision block PP106 determines that the call is from ahot originating ANI, the fraud scenario proceeds along a YES line PP112.This indicates that the hot originating ANI scenario has been detected.A hot originating ANI alarm is generated by a P114 block. Two activitiesthen occur. First, the hot originating ANI message PA170 is provided tothe fraud administrators on the fraud console(s) PB106. In addition, theFBNALARMS file PA120 is updated to include this alarm information forsubsequent use, as indicated by the DONE block PP116. In this way, aseparate alarm is provided to the fraud administrator for a failed callwhich also is coming from a hot originating ANI. Thus, the fraudadministrator can determine not only that a failed call occurred, butthat the failed call came from a hot originating ANI. The fraudadministrator can act accordingly.

7.4.1.3 Hot Terminating ANI

All failed calls are also checked to determine whether they are from ahot terminating ANI or number. The flow used for determining this fraudscenario and for taking the appropriate action is the same that is donefor the hot originating ANI discussed above in Section 7.3.1.2. Forpurposes of brevity, only the differences between the hot originatingANI and the hot terminating ANI are discussed.

First, the order in which the hot originating ANI and the hotterminating ANI scenarios are performed does not matter in accordancewith the present invention. They can be done sequentially in eitherorder, or done in parallel. The hot terminating ANI parameters, asindicated by a block labeled FRAUD520, are obtained from FBNUFILE PA124.In addition, if the terminating ANI is determined not to be hot (called"cold"), the FBNU record for the terminating ANI is updated to reflectthe failed call as discussed above in the FBNUFILE file PA122. Thisupdating is indicated by DONE block PP110.

Similarly, if the terminating ANI is determined to be hot by decisionblock PP106, two activities occur. First, a hot terminating ANI alarmPA170 is provided to the fraud administrator on the fraud console PB106.Second, the fraud alarm data for the hot terminating ANI is stored inthe FBNALARMS file PA120.

In this way, a separate alarm is provided to the fraud administratorindicating that the failed call has been directed to a hot terminatingANI. Thus, it can be appreciated that a failed call can also result inan alarm(s) indicating that it is from a hot originating ANI and/or isdirected to a hot terminating ANI. This fraud information provides thefraud administrator with additional data so as to make appropriateaction to prevent fraud occurring within the telecommunication system.

7.4.1.4 High Usage On Billing Number

This fraud scenario in accordance with the present invention providesthe capability of detecting and/or preventing a number of calls from anoriginating ANI and/or to a terminating ANI which exceeds a specificnumber with a specific time. This fraud scenario typically occurs wherea hacker is trying to discover the proper PIN for a billing number so asto gain access to that billing number. Presently, hackers use verysophisticated techniques to determine the proper PIN for a billingnumber by using, for example, computer programs that automaticallygenerate possible PINs in successive calls so that within a short periodof time the proper PIN is uncovered. The present invention can detectand/or prevent this fraud scenario from occurring by detecting in realtime when a particular number of failed calls have occurred for adesignated originating ANI or a terminating ANI within a predefinedperiod of time.

This fraud detection and/or prevention scenario is best understood withreference to FIGS. 175, FIG. 179, FIG. 180 and FIG. 183. FIG. 183 is ablock diagram of the representative steps of this fraud scenario.

It should be understood that the scenario described below applies bothto an originating ANI and to a terminating ANI (also referred to as acalled number). Either or both the originating ANI and the terminatingANI of a failed call can be evaluated to determine whether the alarmthreshold has been exceeded. It should be understood that the presentinvention contemplates checking either or both the originating ANI andthe terminating ANI of a failed call.

Referring now to the figures, the FAILED CALL ATTEMPT MESSAGE PA176 isreceived by the fraud system PB102 from the consoles AB108 as indicatedby block PP102. FIG. 183 is a combined figure showing the flow of thefraud scenario for the originating ANI and the flow of the fraudscenario for the terminating ANI. It should be understood that the stepsset forth in FIG. 183 are implemented separately for an originating ANIand a terminating ANI.

The FAILED CALL ATTEMPT MESSAGE PA176 is stored in the SFBNFILE PA126.The parameters or thresholds indicating the high usage value for theoriginating ANI are then obtained from the FBNTHRS PA122, as indicatedby a block PP124. Thereafter, the FBNU record for the originating ANI isobtained from FBNUFILE PA124. The last `N` number of failed calls forthe originating ANI, as stored in this record of PP402 file, arereviewed to determine the number that have occurred within a `Y` periodof time, as specified by the parameters of step PP124. The review of thelast `N` calls for the originating ANI are indicated by a block PP402,as shown in FIG. 183. If the number of calls within the specified timeframe is less than the value threshold for that originating ANI, thehigh usage fraud scenario has not been detected, and the flow proceedsalong line PP108 to DONE block PP110. This state indicates that noexcessive high use of the originating ANI of the failed call hasoccurred.

However, if the number of failed calls from the originating ANI withinthe specified time frame has been equal to or has exceeded thethreshold, decision block PP106 detects the high usage ANI fraudscenario. The flow proceeds along the YES line PP112. A high usageoriginating ANI alarm is generated by alarm block PP114. Two activitiesthen occur. First, the high usage originating ANI alarm PA170 isprovided to the fraud console(s) PB106 so that the fraud administratorcan take appropriate action. In addition, the FBNALARMS PA120 isprovided with this alarm information for storage so that it can beobtained for later analysis and display.

Once these two activities have been completed, this fraud scenarioproceeds to the DONE step labeled PP116.

As stated above, the evaluation of the terminating ANI for a failed callis done in similar fashion to determine if any threshold parameter forthat terminating ANI has been exceeded within the specified `Y` periodof time. The present invention can check both the originating ANI andthe terminating ANI for these high usage conditions, or can check onlyone depending on how the fraud system PB102 is configured.

In this way, the fraud administrator can use this information aboutfailed calls that are repeatedly being made from or to a particular ANIso as to detect the hacking which typically occurs, for example, when ahacker is trying to determine the PIN for a billing number. Thiscapability allows the present invention to be protected against typicalhacking scenarios that presently occur.

7.4.2 A Completed Call

As discussed above in section 7.3.1, the present invention firstanalyzes all failed calls to determine whether a fraud scenario has beendetected and/or needs to be prevented. In addition, the presentinvention, as described in this section, examines all completed calls(calls that go through) to determine whether each of these callssatisfies any of the fraud detection and/or prevention scenarios thathave been customized for the fraud system PB102 in connection with thetype of call, where the call originates from and goes to, type ofbilling, the cost of the call, the time duration of the call, and thelike. These various parameters of the completed call are evaluated inaccordance with how the fraud system PB102 is customized so that thepresent invention can produce an improved ability to detect and/orprevent fraudulent activities relating to completed calls. This is alldone on a real-time basis, which results in cost savings because frauddetection and/or prevention can be accomplished much sooner than wouldbe the case if it was only done after the completed call was terminatedand had been billed.

It should be understood that the completed call fraud scenariosdescribed below are not all required in accordance with the fraud systemPB102 of the present invention. In fact, the fraud system PB102 canprovide as few as one of these fraud scenarios and still producesignificant fraud savings. Moreover, the fraud system PB102 can becustomized to a granularity of a particular billing number, originatingANI, or terminating ANI, etc. In this way, enhanced fraud detectionand/or prevention can be achieved by the present invention.

The fraud detection and/or prevention scenarios of the present inventionfor completed calls occur in real time. The point in time duringcompleted call when a particular fraud scenario occurs can be brokendown into three categories in accordance with the present invention. Thefirst category of fraud scenarios is those which occur when the call iscompleted. Fraud scenarios outlined in Sections 7.4.2.1 to 7.4.2.8 fallwithin this start of call time frame category. The second group of fraudscenarios occurs after the completed call has been in existence for apredetermined amount of time. The fraud scenario in Section 7.4.2.9falls within this second time frame category. The third time framecategory is after the call has been terminated and billing informationhas been determined for that terminated call. This fraud scenario is setforth in Section 7.4.2.10.

Thus, it can be seen that the present invention provides real time frauddetection and/or prevention capability for completed calls. The presentinvention no longer requires the telecommunications carrier to waituntil after the completed call is over or until after billinginformation has become available in order for fraud detection and/orprevention to take place. This improves cost savings associated withfraud detection and/or prevention of completed calls.

7.4.2.1 Hot Originating ANI

Referring now to FIG. 185, a block diagram of the steps in accordancewith the present invention for determining whether an originating ANI ishot for a completed call is shown. It should be noted that the blockdiagram set forth in FIG. 185 is equally applicable for the hotterminating ANI fraud scenario discussed below in Section 7.4.2.2.

Referring now to FIGS. 175, FIG. 179, and FIG. 185, a START OF CALLMESSAGE PA182 is provided by the BSRVR BA108A to the fraud system PB102.This indicates that the call has been completed and has started. Thestart of call information PA182 is supplied to the SBIRFILE PA110 by theBNUSAGE PA104.

The START OF CALL MESSAGE PA182, as indicated by a block PQ102, beginsthe hot originating ANI scenario. Next, the thresholds in BNUTHRS PA114are checked, as indicated by a box PQ104, to determine if a hot check ofthe originating ANI should be made. If no hot check is indicated by theBNUTHRS PA114, then the hot originating ANI fraud scenario is notimplemented, as indicated by the DONE block PQ106. Note that for eachoriginating ANI, a hot check can be customized by the fraud system PB102the present invention. This equally applies to each terminating ANI.

If BNUTHRS PA114 indicates that a hot check is to be performed, asindicated by the YES on a flow line PQ108, the BNU record PO450 (seeFIG. 179) for the originating ANI stored in the BNUFILE PA112 is checked(looked up), as indicated by a block PQ110. If no BNU record FRAUD450 isfound for the originating ANI, as indicated by a line PQ112, the hotoriginating ANI fraud scenario is completed, as indicated by blockPQ106. As an aside, a new BNU record is created for this originating ANIcompleted call in accordance with the creation of the BNU record asdescribed elsewhere.

If a BNU record PO450 for the originating ANI is found in BNUFILE PA112,as indicated by a line PQ114, the BNU records PO450 are checked todetermine if the hot field is set to "1", which indicates that theoriginating ANI has been designated as hot by the fraud administrator.If the hot field is set to "0", the originating ANI is designated cold,as indicated by a flow line PQ116. The hot originating ANI fraudscenario moves to block PQ106, and the BNU record PO450 for theoriginating ANI is updated to reflect the completed call in field PO452.

If the hot field is found to contain a "1", as indicated by a flow linePQ118, an alarm is generated, as shown by a block PQ120, indicating thata 1462.0010000 hot originating ANI fraud scenario has been detected. Twoactivities then occur. First, the hot origination ANI alarm PA170 isprovided to the fraud administrator by fraud console(s) PB106. Inaddition, the alarm data is stored in the BNUALARMS PA116 for subsequentuse and analysis. Thereafter, the hot originating ANI fraud scenario iscompleted, as indicated by block PQ122.

In this way, the present invention can detect when a completed call hasoriginated from a hot originating ANI at the beginning of the call afterit has been completed but before the call is over. This allows the fraudadministrator to monitor the activity of the hot originating ANI. Inthis way, fraud detection and/or prevention activities can take place bythe fraud administrator in connection with completed calls.

7.4.2.2 Hot Terminating ANI

The description set forth above in Section 7.4.2.1 is applicable here.The only major difference between the two is that a hot terminating ANIis checked by this fraud scenario, as opposed to the hot originating ANIthat is checked in the fraud scenario set forth in 7.4.2.1.

The BNUTHRS PA114 indicates whether a hot check is to be performed bythe terminating ANI. In addition, the BNU record for the terminating ANIis updated to reflect the completed call.

Under this scenario, the fraud administrator can detect at the beginningof a completed call that the call has been made to a hot terminating ANIso that suitable fraud detection and/or prevention can take place beforethe completed call is completed. In this way, significant savings canoccur.

7.4.2.3 High Usage Billing Number

This fraud scenario in accordance with the present invention occurs when`N` calls are completed for a particular billing number within `Y`period of time. This potential fraud condition needs to be detectedand/or prevented by the present invention so that a number of calls on aparticular billing number do not exceed a set amount `N` without thefraud administrator being made aware of the situation. This high usagecan either indicate that the authorized customers are utilizing thebilling number in a greater than normal degree, or that fraudulentactivity may be occurring and needs to be stopped.

Reference is now made to FIG. 175, FIG. 179, and FIG. 186. FIG. 186shows a block diagram of the steps that take place in this frauddetection and/or prevention scenario in accordance with the presentinvention. It should also be noted that FIG. 186 is equally applicablefor the steps which occur in the high 800 usage fraud scenario describedbelow in Section 7.4.2.4.

The start up call message PA182 is provided by the BSRVR BA108A viaBNUSAGE PA104 to the SBIRFILE PA110, as indicated by block PQ102. Thehigh usage parameters (thresholds) for the particular billing number areobtained from BNUTHRS PA114, as indicated by a block PR102. These usageparameters indicate the number of completed calls `Z` that can occurwithin a period of time `Y`. Any calls equal to or above that specifiednumber `Z` indicate that the high usage threshold or condition has beenmet.

The BNU record PO450 for the particular billing number, which is storedin BNUFILE PA112, is then checked. Specifically, the last `N` callsfound in field PO452 are checked to determine the number `A` that haveoccurred within the time period `Y`. This checking of field PO452 of BNUrecord PO450 for the particular billing number in order to determine thenumber `A` of completed calls is indicated by a block PR104.

If the number `A` of calls that have occurred within the time period `Y`is less than the threshold value `Z` provided by step PR102 for theparticular billing number, then this fraud scenario determines that thehigh usage condition has not occurred, as indicated by the NO flow linePR108. The fraud scenario then updates the BNU record file PO450 toindicate this completed call. This is indicated by DONE block PR110.

Alternately, if the number of calls `A` in time period `Y` is equal toor greater than the threshold value `Z` a decisional block PR106indicates that the threshold has been equalled or exceeded, as indicatedby the YES flow line PR112.

Thereafter, the particular billing number is examined to determine if itis an NPA 800 number. This is indicated by a decision block PR114. Ifdecision block PR114 determines that the billing number is not an NPA800 number, a high usage billing number alarm is generated, as indicatedby a block PR116. Two activities then occur. The first activity is thatthe HIGH USAGE BILLING NUMBER ALARM PA170 is provided to the fraudadministrator on the fraud console(s) PB106. In this way, the fraudadministrator knows that the high usage billing number condition hasoccurred at the beginning of the completed call (and not after the callis terminated). This allows the billing administrator to takeappropriate action. In addition, a high usage billing number alarm datais stored in the BNUALARMS PA16 for later use and analysis. This fraudscenario then proceeds to the DONE block PR118, which indicates that thescenario has been completed.

Thus, it can be seen that in this scenario a high usage billing numbercondition can be detected at the beginning of the call, and not afterthe call is terminated or after billing information is provided. In thisway, the fraud administrator can take appropriate action to detectand/or prevent fraud.

7.4.2.4 800 Calls With High Usage

The fraud scenario in accordance with the present invention thatdetermines if 800 usage parameters are exceeded is similar to thatdescribed above in Section 7.4.2.3 and discussed in connection withFIGS. 175, FIG. 179 and FIG. 186. Only the differences between these twofraud scenarios are discussed.

As shown in the block labeled PR102, the high 800 usage parameters `Z`are obtained from the BNUTHRS PA114.

Similarly, if the number of 800 usage completed calls `A` is equal to orexceeds the threshold `Z`, as indicated by decision block PR106, thenthe decision block PR114 determines if the billing number is a NPA800.If this NPA800 condition is determined by decisional block PR114, asindicated by YES flow line PR120, a high 800 number usage alarm isgenerated, as indicated by a block PR122. Two activities then takeplace. One is the high 800 number usage alarm PA170 is provided to thefraud administrator on the fraud console(s) PB106. This allows the fraudadministrator to take appropriate action to detect and/or prevent thefraud before the completed 800 call is over. The other activity is thatthe high 800 number usage alarm data is stored in the BNUALARMS PA116.This allows this data to be subsequently used and analyzed by the fraudadministrator.

Thereafter, the high 800 usage fraud scenario is completed, as indicatedby the DONE box PR118.

7.4.2.5 Simultaneous Calls on a Billing Number

This fraud scenario in accordance with the present invention detectsand/or prevents the condition where there are two or more active callson a particular billing number. This fraud scenario typically occurswhen a billing number (with its associated access PIN) is obtained by anunauthorized user and then used simultaneously by two or moreunauthorized users to make overlapping (in time) unauthorized calls. Thestolen billing number is often sold to many unauthorized users whotypically use it as extensively as possible within a short time periodso that the fraud, once it is detected, is difficult, if not impossible,to criminally prosecute. This simultaneous calls on a billing numberfraud scenario in accordance with the present invention detects and/orprevents this from taking place.

Referring now to FIG. 187, a block diagram of the steps of this fraudscenario in accordance with the present invention are shown. Referencesare also made to FIG. 179 and to FIG. 175.

Referring now to FIG. 187, the start of call message PA182, as indicatedby block PQ102, is received from BSRVR BA108 by fraud system PB102. Thestart of call message PA182 is used to retrieve the BNU record PO450 forthe billing number. Referring to FIG. 179, the BNU record PO450 includesa field called `current uses`, which is labeled PO454. This `currentuses` field PO454 indicates whether there is a completed call inprogress, which means that there is a call using the billing numberwhich has been completed but is not yet terminated. Any type ofindicator can be used to show the state where there is a completed callin progress. For example, a `zero` can show that there is no call inprogress, and a `1` can show that there is a call in progress. This`current uses` PO454 information is obtained from the BNU record PO450found in BNU file PA112. This is indicated by a step PR202.

A decision step PR204 determines if the value of the `current uses` fromfield PO454 is equal to or exceeds a value threshold obtained fromBNUTHRS PA114. The value threshold specifies how many completed calls ona single billing number can be in progress at one time. It should benoted that the present invention can be configured so that the detectedsimultaneous calls on a single billing number condition can occur withone or more calls in progress. In other words, the present invention isnot limited to detection of the situation where only one call is inprogress. Two or more calls can be specified in the threshold as beingrequired to be in progress for this fraud scenario to be detected.

If decision block PR204 determines that the threshold has not beenequaled or exceeded, it proceeds along a NO flow line PR206 to DONEblock PQ106. This indicates that the fraud scenario of simultaneouscalls on a single billing number has not been detected.

In contrast, if decision block PR206 determines that the `current uses`value (that is, the number of simultaneous calls) is equal to or exceedsthe threshold value, it proceeds along a YES flow line PR208. Asimultaneous calls on a single billing number alarm is then generated,as indicated by a block PR210. Two activities then take place. First,the simultaneous calls on a billing number fraud scenario alarm PA170 ispresented to the fraud administrator on the fraud console(s) PB106. Inaddition, the simultaneous calls on a billing number alarm data isstored in the BNUALARMS PA116 file for later use and analysis.Thereafter, the flow proceeds to a DONE box PQ106.

In this way, this fraud scenario can detect and/or prevent a fraudscenario where there are simultaneous calls on a single billing number.This allows the fraud administrator to take necessary action against atypical fraud situation where a billing number is obtained byunauthorized users and is used illegally to make simultaneous calls.

7.4.2.6 Anomalous Calls on a Billing Number

This scenario involves a specified number of completed calls `A` withina time period `Y` having different originating NPA, or NPA/NXX and/orANI. In other words, there are a series of completed calls that haveoccurred on a particular billing number within a specified time periodwhich are from different originating locations that exceed thresholdsset for originating locations. This fraud condition occurs typicallywhere a billing number has been obtained by an unauthorized user and hasbeen distributed geographically so that different unauthorized users indifferent locations use the billing number within a specified timeperiod. The unauthorized users attempt not to make simultaneous calls soas to elude detection of that fraud scenario. Instead, the strategy isto utilize the billing number from different geographical locations in asequential mode so as to avoid fraud detection and/or prevention. Thisfraud scenario in accordance with the present invention detects and/orprevents this fraud from taking place.

Referring now to FIG. 188, FIG. 175, and FIG. 179, this fraud scenarioof anomalous calls on a billing number is described. FIG. 188 is a blockdiagram showing the representative steps of this fraud scenario. A startof call message PA182 is received from BSRVR BA108A. The fraud systemPB102 stores the start up call message PA182 in SBIRFILE PA110. Theanomalous call parameters for the billing number of the call areobtained from the BNU record FRAUD450 for that billing number in BNUFILEPA112. This is indicated by a box PO450. These parameters are obtainedby looking at the originating numbers of the last `N` calls found infield PO450 of BNU record PO450 for the billing number.

Any threshold for that billing number in connection with an originatingcall NPA, or NPA/NXX, and/or an ANI stored in the BNUTHRS PA114 is thenobtained. A decision block determines if there are any thresholds forthese originating call parameters, as indicated by decision block PR304.If BNUTHRS PA114 does not have any such parameters or thresholds forthat billing number in connection with the originating number, thisfraud detection scenario is completed, as indicated by DONE block PQ106.

Alternately, if decision block PR304 determines that there is athreshold for one or more of the originating number parameters, then thefraud scenario proceeds to a decision block PR306. Decision block PR306determines whether the anomalous originating call parameters equal orexceed the thresholds from BNUTHRS PA114. If the current usage, asindicated by the parameters, does not equal or exceed the thresholds,then the fraud scenario has not been detected. This fraud scenario thenproceeds to DONE block PQ106.

Alternatively, if decision block PR306 determines that the current usageparameters are equal to or have exceeded the thresholds, then theanomalous calls on a billing number scenario has been detected, asindicated by a YES flow line PR308. This anomalous calls on a billingnumber alarm is then generated, as indicated by a block PR310. Twoactivities then take place. First, the anomalous calls on a billingnumber alarm PA170 is presented to the fraud administrator at the fraudconsole(s) PB106. In addition, the anomalous calls on a billing numberalarm data is stored in BNUALARMS PA116 for later use.

In this way, this fraud scenario can detect and/or prevent the conditionwhere there are anomalous calls on a billing number within a specifiedperiod of time which exceed thresholds based on the originating numbers.

7.4.2.7 International Incoming or Outgoing Calls

This fraud scenario in accordance with the present invention detects allcompleted calls which are coming from an international originatingnumber or are going to an international terminating number.`International` as used here means that the call is outside of aspecific geographical area that is defined as domestic to U.S.A. Allcalls outside of this geographical area are denominated asinternational. Typically, `international` designation involves politicalboundaries, continental boundaries, or land boundaries.

This scenario in accordance with the present invention detects and/orprevents fraud that typically results in significant financial losses.These high losses are due to the fact that international calls areexpensive. This fraud scenario detects the occurrence of aninternational call immediately after it has been completed, but beforeit is terminated. In this way, the fraud administrator can take whateverappropriate action is necessary.

It should be noted that the fraud scenario set forth in FIG. 189 iscarried out to determine if an incoming call is from an internationallocation. The fraud scenario is also separately carried out to determinewhether an outgoing call is to an international location. Thus, allcompleted calls typically are reviewed by this fraud scenario inaccordance with the present invention.

Reference is made to FIG. 189, FIG. 175, and FIG. 179. FIG. 189 is ablock diagram showing the steps of this fraud scenario in accordancewith the present invention. Referring now to the figures, a start ofcall message PA182 is provided BSRVR BA108A. The internationalparameters of the call are obtained, as indicated by a block PR405, fromthe entire originating number (including country code). A decision blockPR404 determines whether an international flag has been set. This flagis stored in the BNUTHRS PA114. It allows the fraud system PB102 of thepresent invention to be configured to detect international calls.

If an international flag is not set, than fraud system PB102 has notbeen configured to detect international calls. This is indicated by theNO flow line PR406. The international incoming call fraud scenario thenproceeds to DONE block PQ106.

Alternately, if decision block PR404 detects that an international flaghas been set, it proceeds to YES flow line PR408. The jurisdiction ofthe incoming call is then checked, as indicated by a block PR410. Thejurisdiction comes in the start of call message PA182. Next, a decisionblock PR412 determines if the call based on its jurisdiction isinternational. If the call is determined not to be international (alsodenominated domestic), then the fraud scenario proceeds along a NO flowline PR414 to DONE box PQ106. This indicates that the call has beendetermined not to be international, and thus the fraud scenario has notoccurred.

Alternatively, if decision block PR414 determines that the call isinternational, the fraud scenario proceeds to a YES flow line PR416.This indicates that an international call has been detected. Theinternational incoming alarm is then generated, as indicated by a blockPR418. Two activities take place. First, the international incomingfraud alarm PA170 is provided to the fraud administrator at the fraudconsole(s) PB106. In addition, the international fraud alarm is storedin the BNUALARMS PA116 for later review and analysis.

The fraud scenario for outgoing international calls is the same with theexception that it is performed on the outgoing call.

In this way, the international incoming or outgoing call scenario of thepresent invention can provide information to the fraud administrator atthe beginning of the call as to whether the call is coming from aninternational location or going to an international location. Thisinformation provides the fraud administrator with the ability to takeappropriate action before the completed call is terminated. In this way,significant fraud savings can result.

7.4.2.8 Reoriginations

This scenario in accordance with the present invention is directed tofraud which occurs when an unauthorized user has gained access into thetelephone system using an unauthorized billing number and is able tomake repeated telephone calls without having to get out of the system.For authorized user convenience, telephone systems typically include afeature which allows for more than one call to be made once all of thebilling information has been provided if the authorized user issuesproper commands so as to originate the additional calls. This capabilityspares the authorized user from having to repeat the necessary billinginformation for each call. Instead, the billing information is providedby the authorized user at the beginning of the sequence of calls, anddoes not have to be repeated until the authorized user gets out of thesystem. Hackers and other unauthorized users prefer this mode ofunauthorized use of the phone system because they only have to providethe billing information once and because, in many traditional systems,the information is only verified the first time. This fraud scenario inaccordance with the present invention allows for detection and/orprevention of this fraud scenario by an unauthorized user.

Reference is now made to FIG. 190, FIG. 175, and FIG. 179. FIG. 190 is ablock diagram showing the steps of this fraud scenario. Referring now tothe figures, the start of call message PA182 is received from BSRVRBA108A by fraud system PB102. Thereafter, the reorigination parametersare obtained from the BNU record PO450 for the billing number inquestion, as indicated by a block PR502. The last `N` calls contained infield PO452 are examined to determine these reorigination parameters ofthe calls.

A decision block PR504 determines whether reorigination thresholds areset. This threshold information is contained in BNUTHRS PA114.Typically, these thresholds are set for a certain number of calls whichoccur sequentially, without the caller having to hang up, re-dial thedestination number and re-enter the billing number. A representativethreshold is five calls. Thus, in accordance with this threshold value,every time five calls occur on a single origination, a fraud scenario isdetected by the present invention. If no reorigination threshold isdetermined by decision blocks PR504, the fraud scenario proceeds to a NOflow line PR506. Thereafter, the fraud scenario is completed, asindicated by DONE box PQ106.

If reorigination thresholds have been set, this is indicated by a YESflow line PR508. Thereafter, a decision block PR510 determines whetherthe reorigination parameters (count) of block PR502 are equal to orgreater than the thresholds of PR504 obtained from BNUTHRS PA114. If thereorigination count is not equal to or is less than the thresholds, thisis indicated by a NO flow line PR512. The reorigination fraud scenariohas not been detected, and the flow proceeds to DONE block PQ106.

Alternately, if decision block PR510 determines that the originationcount is equal to or greater than the thresholds, this flow is indicatedby a YES flow line PR514. Thereafter, the reorigination fraud scenarioalarm is generated, as indicated by a block PR516. Two activities takeplace. The reorigination alarm PA170 is provided to the fraudadministrator on the fraud console(s) PB106. In addition, thereorigination alarm data is stored in the BNUALARMS PA116 for later useand analysis. The flow then proceeds to DONE box PQ106.

In this way, a reorigination alarm is provided to the fraudadministrator each time the number of reoriginations exceeds a valuethreshold. If the threshold is exceeded more than once, thereorigination alarm is sounded each time it is exceeded. In this way,the fraud administrator can take the necessary action to determinewhether a series of calls based on a single billing number access to thesystem are authorized or unauthorized. This results in reducing fraudlosses significantly.

7.4.2.9 Long Duration Calls

This fraud scenario is directed at determining when a completed callexceeds a predetermined length of time. This condition can be detectedin accordance with the present invention either during the completedcall or after the completed call is terminated. In some situationsinvolving a long call, the condition can occur one or more times duringthe call and again after the call is finished. This fraud scenario isdetected after the start of the call and the expiration of apredetermined amount of time `Y` measured from the start of the call.Reference now is made to FIGS. 175, FIG. 191, and FIG. 179. FIG. 191 isa block diagram of the steps of the long duration call fraud scenario inaccordance with the present invention.

The purpose of this fraud scenario in accordance with the presentinvention is to detect when a completed call lasts longer then apredefined length of time. If this long duration call is fraudulent, itwill cost the carrier a significant amount of money. Consequently, thisfraud scenario is performed to allow the fraud administrator to takeappropriate action if she determines that fraud is taking place. It alsoallows the fraud administrator to take action against subsequentattempts.

The intermediate-long call message PA180 is provided throughout thecompleted call until the call is terminated. The intermediate-long callPA180 is provided to the fraud system PB102, as indicated by a blockPS102. Note that this intermediate-long call message may be provided onsuccessive occasions during a completed call that is of a long timeduration. This fraud scenario will be repeated each time thisintermediate-long call message is received. In addition, as discussedbelow, the long duration fraud scenario will be performed after thecompleted call is terminated upon receipt of the end of call messagePA178.

The parameters for the intermediate-long duration call are obtained, asindicated by the block PS104. These parameters are obtained from BNUTHRSPA114. Next, a decision block PS106 determines whether there is athreshold in the BNUALARMS PA116 for intermediate-long duration calls. Atypical value is 30 minutes. If decision block PS106 determines that nosuch threshold is set, the fraud scenario is completed and proceeds tothe NO flow line labeled PS108. The fraud scenario then proceeds to DONEbox PQ106.

Alternately, if the decision block PS106 determines that a threshold isset, as indicated by the YES flow line PS110, the fraud scenarioproceeds to a decision block PS112. Decision block PS112 determines ifthe parameters (that is, time lapse) of the intermediate-long durationcall from block PS104 are equal to or greater than the thresholds fromdecision block PS106. If the parameters are less than the thresholds,the intermediate-long duration calls fraud scenario has not beendetected. This is indicated by the NO flow line labeled PS114. Theintermediate-long duration call fraud scenario is completed and proceedsto DONE block PQ106.

Alternately, if decision block PS112 determines that the parameters ofthe intermediate-long duration call are equal to or greater than thethresholds, the scenario proceeds to the YES flow line PS116. The alarmindicating this intermediate-long duration call is then generated, asindicated by a block PS118. Two activities then take place. Theintermediate-long duration call alarm PA170 is provided to the fraudadministrator at the fraud console(s) PB106. This allows the fraudadministrator to determine in real time that this on-going call hasexceeded the time limit set for the detection of this fraud scenario andto take appropriate action concerning possible fraud. In addition, theintermediate-long duration call alarm data is provided to the BNUALARMSPA116 for storage and later analysis. Thereafter, the fraud scenario iscompleted, as indicated by DONE block PQ106.

As stated above, this intermediate-long duration call alarm fraudscenario is detected at each point in time during a completed call whenthe call exceeds the value threshold. Thus, for example, if the valuethreshold is 10-minutes, and the call has been in existence (completed)for more than 20-minutes, two intermediate-long duration call alarmswill have occurred, one at the 10 minute mark of the call, and a secondat the 20 minute mark of the call. In addition, as discussed below,there will also be a third intermediate-long duration call alarm at theend of the completed call if the time threshold for that parameter hasalso been exceeded by the call.

The fraud scenario for intermediate-long duration calls is alsoperformed at the termination of the completed call. All of the steps setforth in FIG. 191 are performed at the end of the call after receipt ofthe END OF CALL MESSAGE PA176 by the fraud system PB102. Since the stepsare essentially the same as those for monitoring the duration of thecall that is in progress, no additional discussion is provided exceptthat it should be understood that the time threshold(s) for the end ofthe call can be different from the time threshold(s) for the call thatis in progress.

In this way, this fraud scenario allows the fraud administrator todetermine in real time if an intermediate-long duration call isoccurring. This allows her to take appropriate action in terms of frauddetection and/or prevention.

7.4.2.10 Call Cost (Wholesale and Retail)

The call cost (wholesale and retail) fraud scenario of the presentinvention allows the fraud administrator to determine if the cost of acall that has been completed and has terminated exceeds a monetarythreshold. The amount of both wholesale and retail costs can bemonitored in real time, and different thresholds can be set for each. Inthis way, the present invention allows for fraud detection and/orprevention of completed calls exceeding certain monetary amounts.

Typically, fraudulent calls are of long duration and of high monetarycost. Such calls provide great economic benefit to the hacker. Thehacker knows that numerous calls attract the attention of a carrier'sSecurity Department and will result in the card being deactivated. But acall in process doesn't usually get reported until the call is over intraditional systems. For this reason, this fraud scenario of the presentinvention allows the fraud administrator to monitor on a real-time basisthe cost of a completed call that exceeds a monetary threshold so thatappropriate action can be taken to protect the telecommunicationssystem.

Typically, this fraud scenario is used for international calls which areof high cost per minute of calling time. However, this fraud scenariocan also be used for local (domestic) calls where the calls are lesscostly.

Reference is now made to FIG. 175, FIG. 179, and FIG. 192. FIG. 192 is ablock diagram of the steps of this call cost fraud scenario.

This fraud scenario cannot be performed until after the completed callterminates. At that time, rated call data PA172 is provided by ratingsystem LA102 to fraud system PB102. This step is indicated by a blockPS202. The parameters of the rated call data are then obtained, fromBNUTHRS PA114 as indicated by a block PS204. The parameters of the callcost data can include wholesale cost, retail cost, or both. It should beunderstood that the present invention can monitor one or both of thesecosts for each call that is completed and is terminated.

A decision block PS206 determines if there are thresholds set for retailcost and for wholesale cost of the call. These retail cost and wholesalecost thresholds are found in BNUTHRS PA114. If no thresholds are found,the fraud scenario has been completed, as indicated by a NO flow linePS208. The fraud scenario then moves to the DONE block PQ106.

Alternately, if a retail cost threshold and/or a wholesale costthreshold is found, the fraud scenario proceeds to a YES flow linePS210. Next, a decision block PS212 determines if the cost parameters(at wholesale and retail) of the completed call that is terminated aregreater than the corresponding wholesale or retail thresholds. If noneof the thresholds that are in BNUTHRS PA114 have been exceeded(wholesale and/or retail), the fraud condition has not been detected.The fraud scenario then moves to a NO flow line PS214. The fraudscenario then moves to DONE block PQ106.

If decision block PS212 determines that either or both of the retail andwholesale thresholds have been exceeded, the fraud scenario has beendetected, and the flow proceeds to a YES flow line PS216. Thecorresponding alarm, which can be either a wholesale cost alarm or aretail cost alarm or both, are then generated. This is indicated by ablock PS218. Two activities then occur. The wholesale cost alarm PA170or the retail cost alarm PA170 or both, depending on which has beengenerated, is provided to the fraud administrator at fraud console(s)PB106. This alarm(s) PA170 allows the fraud administrator to takeappropriate action concerning future calls. This is especially importantfor international calls, since this allows her to take appropriateaction to prevent additional international calls which are unauthorized.While not all international calls are fraudulent, most long durationhigh cost calls are fraudulent. Legitimate users tend to keeplong-distance calls relatively short in length. In addition, thewholesale fraud alarm and the retail fraud alarm or both (depending onwhich has been generated) are provided to the BNUALARMS PA116 forstorage and subsequent analysis.

It should be understood that the fraud system PB102 can be customized tomonitor the wholesale and retail cost of all calls on a real-time basisafter the completed calls are terminated. Alternatively, only particularor specified calls can be monitored. In this way, the fraudadministrator can detect and/or prevent fraudulent activities byunauthorized users based on the cost of the calls, which results insignificant cost savings.

7.4.3 Simultaneous Uses of a Billing Number

This fraud scenario detects and/or prevents simultaneous uses of abilling number. It prevents over charging of calls to a billing number.Fraud system PB1102 uses messages from BSRVR BA108A and messages to andfrom validation system AG102 to provide this fraud scenario.

Reference is made to FIGS. 175, 193, and 195. FIG. 193 is a blockdiagram showing the flow between fraud system PB102, validation systemAG102, and BSRVR BA108A. FIG. 194 is a block diagram of the steps in thefraud scenario involving the validation system AG102. FIG. 195 is ablock diagram of the steps in the fraud scenario involving BSRVR BA108A.

In order to prevent simultaneous uses of a billing number, the CHNDFILEmodule PA118 was developed. There are certain business situations whereit is important to ensure that there is only one use of a billing numberat a time. An example is the Debit Card product, which is a card havinga monetary amount that can be decremented to zero as the card is used topay for calls. Because the debit card is monitored for when it hasexpired (that is, decremented to zero remaining monetary balance), onlyone use of the billing number of the debit card can occur at a time.This capability is needed because BSRVR BA108A tracks an active DebitCard call and cuts it off after the Debit Card has expired.

The current number of uses of a billing number is kept in a record(field) in the BNU PO450 record for the billing number. BNU PO450 filerecord is stored in BNUFILE module PA112. This number of uses of abilling number is incremented from a message PC104 coming fromvalidation system AG102, and decremented from a message PZ102 comingfrom BSRVR BA108A. BSRVR BA108A does not have the billing number of thecall to look it up in BNUFILE PA112, but it does have a uniquecallhandle BA305 for the call. Therefore, CHANDFILE PA118 was suppliesthe connection between callhandle BA305 and the billing number of thecurrent call.

Referring now to FIG. 194, validator system AG102 sends an incrementbill number uses message PC104 to fraud system PB102, as indicated by ablock PZ104. When the increment bill number uses message PC104 isreceived, the billing number is searched for in BNUFILE PA112, asindicated by a block PZ106. As indicated by a decision block PZ108, ifthe BNU record is not found, as indicated by a NO flow line PZ110, a newBNU record is created based on the billing number, as indicated by ablock PZ112. The fraud scenario proceeds via a YES flow line PZ114 to astep PZ116. The current number of uses is then incremented in this newor searched BNU record as indicated by a block PZ116.

At this time, a callhandle record PZ124 is created and stored inCHANDFILE PA118, as indicated by a block PZ118. The information storedin callhandle record PZ124 includes the callhandle BA305 and billingnumber of the current call. This callhandle record PZ124 is needed laterwhen BSRVR BA108A sends a decrement number of bill number uses messagePZ102 to decrement the number of uses.

Once step PZ116 is completed, a message PZ129 containing the new numberof simultaneous uses is sent to the validator system AG102, as indicatedby a block PZ120.

Referring now to FIG. 195, when a decrement number of bill number usesmessages PZ102 from BSRVR BA108A is received, as indicated by a blockPZ130, the callhandle BA305 in the request message is used to searchCHANDFILE PA118 to retrieve the billing number of the call justcompleted, as indicated by a block PZ132A. As shown by a decision blockPZ136, if the billing number is not found, the fraud scenario iscompleted, as indicated by a DONE block PZ137. If, however, the recordcontaining the billing number is found, as indicated by a YES flow linePZ138, it is used to look up a BNU record in BNUFILE PA112 using thebilling number located in the CHANDFILE PA118 record, as indicated by ablock PZ140.

As indicated by a decision block PZ142, if a BNU record is found in theBNUFILE PA112, the current number of simultaneous uses is decremented ifit is greater than 1, as indicated by a block PZ148. If it is not found,as indicated by a NO flow line PZ144, the flow proceeds to step PZ150.

Since there now is no current or future use for the record found in theCHANDFILE PA118, it is deleted, as indicated by block PZ150. Step PZ150completes the steps in the flow of the received message, as indicated byDONE block PZ150.

In this fraud scenario, the ability to accurately monitor the currentnumber of uses of a billing number enables the validation system AG107to block more then one simultaneous use of a billing number. In thepresent embodiment, Debit Cards are an example of a situation where usemust be restricted only one current use of a billing number. This fraudscenario, however, does not need to be limited to Debit Cards, andencompasses any application involving simultaneous use of a billingnumber.

7.5 GRAPHICAL USER INTERFACE FOR FRAUD CONSOLE

A representative graphical user interface (GUI) for a fraud consolePB106 is shown in FIG. 203 and described below. This is a representativeGUI, and the present invention contemplates any suitable display ofinformation now present or later developed that assists the fraudadministrator in detection and/or prevention of fraud. The exampleembodiment shown below illustrates the types of information that can beprovided to the fraud administrator, and the kinds of interactions thatthe fraud administrator can use with the fraud system PB102 inconnection with fraud detection and/or prevention.

The main screen shown in FIG. 203 is divided into an upper portion forthe billed number usage (labeled ALARM TYPE and extending down to BNUALARMS, and a lower portion for the failed bill number alarms (labeledALARM TYPE and extending down to FNB HOT ORIG). The top portion of thescreen labeled "Fraud Monitor" gives the maintenance information aboutthe system. The current day and time are displayed, as well as how longthe system has been running without interruption. If, for some reason,the system has been disabled, the BNU ALARM STATUS will show thatcondition. If this should occur for more than a few seconds, an alarmwill sound in the Network Operations Center on the Log Box. This is aprecaution to ensure that the system is operating at peak efficiency andto ensure that no alarms are missed, causing unnecessary losses to goundetected.

The system is designed to be extremely user-friendly as well astime-saving. To view an alarm, the fraud administrator simply highlightsthe record via a cursor and presses ENTER. A ALARM DETAIL INFO screen,as shown in FIG. 201, will "pop up" into the main screen. Thispreliminary screen gives very basic information about the type of alarmbeing viewed. When more than one call triggers an alarm, each call willbe listed by BIR ID in this screen. For further detail, pressing ENTERwill bring up another "pop up" window titled Fraud Short BIR INFO, asshown in FIG. 202, which contains the actual call detail record of thecall.

7.5.1 Thresholds

Thresholds may be viewed or established for individual customers or forglobal situations. To view the current thresholds, the BNU THRS! fieldof FIG. 203 is selected. This provides acceess to ALARM THRESHOLDSDETAIL INFO screen of FIG. 196. Each set of parameters is available forviewing or updating. The Default Global parameters are for cards and foroperator services. The individual Threshold Key field allows forcustomized thresholds for specific accounts. The screen will indicatewhat parameters are set, and the tone and duration of the alarms.

Parameters with brackets ( !) indicate a yes or no threshold condition.To activate, the ENTER key is pressed after highlighting the bracketwith the cursor. A will appear in the bracket. To deactivate, the ENTERkey is depressed again, and the will disappear. This alerts the BNU fileto check certain fields to see if a parameter has been set.

The Tones and Duration setting is set to establish what pitch the alarmwill sound and how long it will beep. Most parameters are set with aduration of 100 ms, but may be set for as long as 300 ms. The tonesettings may be set from 500 hz to 3000 hz. This allows for completeflexibility in customizing alarms on a customer-by-customer basis. Italso allows the administrator to set pitches according to her ownhearing capabilities; many people do not hear certain decibel levels ortones due to hearing loss or interference.

Parameters must be established for both the BNU as shown in FIG. 196,and the FBN, FIG. 196A. This is true of the Hot Originating and HotTerminating ANI alarms since these alarms exist for both completed callsand failed calls. Once the parameters are set, it is necessary to enterthe billing numbers and originating or terminating ANI's that are to bespecifically monitored. The system will globally monitor all billingnumbers, however, customers will often request specialized parameters.These special numbers are the ones that must be keyed individually.

The BILLNUMS! screen, as shown in FIG. 197 is used to enter thesecustomized numbers. It also allows the fraud administrator to search thesystem to see if a particular type of call has been made or to see if aparticular billing number has been used to make a call. The arrow keyson the keyboard are used to select a billing method for which to set aparameter. The available fields, for example, are:

    ______________________________________                                        800 NUMBER    800 PIN      AMER EXPRESS                                       ANI           CALLED NUM   CAN LEC CARD                                       DEBIT CARD    DINERS CLUB  DISCOVER                                           LEC CARD      MASTER CARD  NOT USED                                           PCC           THIRD PARTY  UNKNOWN                                            VERIF REFUSED VISA                                                            ______________________________________                                    

Once a billing method is chosen, the Billing Number field of FIG. 197 isused to key in the number to be entered into the Threshold screen FIG.196. The system is configured to make sure the number is not alreadyentered to avoid duplication of records. If a duplication exists, apop-up screen will appear and show the current records for that billingnumber. If the billing number does not appear in the system, it allowsthe number to be inserted into the system. A "Success" window will opento indicate a completed entry. To remove a billing number from thesystem, the fraud administrator simply follows the same procedures anduses the a specific function key to delete the record.

7.5.2 Search

From the main screen, FIG. 203, the system provides the ability to lookat the toll history of any billing number or ANI in two ways. One way isby using the BIRS! field; the other the BILLNUMS! field. When using theBIR , as shown in FIG. 198, the system will bring up all BIRS, from thetime requested, or it will start at the BIR specified and showeverything following. By pressing the ENTER key, a FRAUD SHORT BIR INFOscreen, as shown in FIG. 200, will open and show the call recordspecified.

In order to determine if the system has call detail for a specificbilled number or any of the above listed criteria, the BILLNUMS screen,FIG. 197 is used. The fraud administrator may select from theappropriate criteria which field she wishes to search, enter the billingnumber needed, and by pressing a specific function key, see all of thecall detail stored in the database which matches the search criteria.This method is faster than that used in traditional systems, whichinvolves running a search on a switch database. In contrast, the presentinvention causes less strain on the call processing speed of the switch,which is always impacted when a request for call detail is made.

7.5.3 Failed Billed Number Screens

The FBN screens are used exactly the same as are the BNU screens of FIG.197 and 198. Consequently, the only difference between these isdscussed. The FBN screen only shows calls that failed for some reason.The call failure may have occurred because the billing number wasinvalid, the validation service was not returning the correctinformation, or some other reason as discussed elsewhere.

7.5.4 To View An Alarm

To view an alarm, the fraud administrator moves the cursor to highlightthe record and presses ENTER. An ALARM DETAIL INFO screen will "pop up"into the main screen. A representative of this is shown in FIG. 201.

When more than one call triggers an alarm, each call will be listed byBIR ID on the screen of FIG. 201. The fraud administrator highlights thecall she wishes to view, and presses ENTER to further examine the callrecord for this alarm. Referring again to FIG. 200, a "pop up" screenwill display the BIR INFO for the call.

7.5.5 Exiting The System

To exit any of the pop-up screens, the fraud administrator pressesESC!ape back to the main screen. To exit the entire system, shehighlights the EXIT field and presses ENTER.

7.6 REPORTS

The Real Time System reports on calls as soon as they break the pre-setthresholds, but the Batch Reporting System provides an excellent back-upand catch-all for the Fraud Department. These reports are printed forspecified time frames, or can be demand-selected at a moments notice.This provides great flexibility for the fraud administrator, who, whilelooking at something on the Fraud Monitor, may then query the databasefor further documentation. Documentation is necessary for evidentiaryresponse in investigating fraud incidents. What follows is a generaldescription of the reports generated by the fraud system.

7.6.1 Excessive Usage

This report is sorted in a number of different ways which assists inidentifying unusual calling patterns. The fraud system allows thisreport to be queried or batch-reported at specified time frames. Thedetail shows:

    ______________________________________                                        Date              Billing Method                                              Time              Access Number                                               Duration          BIR ID                                                      OrigNumber        # Reoriginated                                              DialedNumber      Terminating Status                                          Billed To Number  Terminating Call Method                                     ______________________________________                                    

The reports can be sorted by Originating ANI, Terminating Number, orBilled To Number. Many times different Originating ANI's will shownumerous calls to the same terminating number, but the billing numberwill be different each time. If the report only looked at the billingnumber sort, it is possible that a fraud administrator would miss theusage. But by having the multiple sorts, the chances of missing animportant fraud incident will be reduced.

7.6.2 Excessive Duration

This report keys off the long duration portion of the system and reportsany call over one hour in duration. The fields are the same as above,and the sort is by longest duration to shortest. Again, this is simply aback-up to the real-time system. If only one or two long calls occurredduring a given day, but were spaced far enough apart, the fraudadministrator might miss the fact that a billing number made severallong duration calls. This report will show that occurrence as the callswill be grouped together on the page.

8.0 GATEWAYS

Call processing system AB102 uses a host gateway BA110 and a customergateway BA112 to facilitate communications between the processes thatmake up NCP AB104 and subscribers AA114. As mentioned in the NetworkControl Processor Section of this document, host gateway BA110 andcustomer gateway BA112A perform communications format and/or protocolconversions so that NCP AB102 can communicate with subscribers AA114 andmatrix switch AB106.

The types of communications formats and protocols used by subscribersAA114, NCP AB104, and matrix switch AB106 dictates whether customergateway BA112A and host gateway BA110 are needed, and if so, whatcommunications conversions must be performed.

In one embodiment, call data AA144 and other communications withcustomer switch AA104 and matrix switch AB106 is in the form of SS7messages, such as Initial Address Messages (IAMs), Address CompleteMessages (ACMs), Answer Messages (ANMs), et cetera. In this embodiment,customer gateway BA112 performs conversions necessary so that call datain the form of an SS7 message can be communicated across LAN AB122.Additionally, alternative embodiments are contemplated wherein SS7 andother message types can be interfaced to a NCP AB104 having acommunications format other than LAN AB122.

The operation of customer gateways BA112 and host gateways BA110 is nowdescribed in terms of the operation of setting up a call, completing acall, and terminating a call in the embodiment using SS7 messageformats. The example described is an operator-assisted call where thecall is first routed through an operator console AB108. This example waschosen to illustrate interaction with operator consoles AB108.

FIG. 122 is a block diagram illustrating the data flow during call setupin one embodiment. FIG. 123, which comprises FIGS. 124 and 125, is anoperational flow diagram illustrating the process followed during callsetup in this embodiment. Referring now to FIGS. 122 and 123, when auser AA106 (illustrated in FIG. 3) places a call, customer switch AA104Agenerates an IAM#1 RA102 message. In a step RA202, IAM#1 RA102 isreceived at customer gateway BA112A.

In a step RA204, customer gateway BA112A converts IAM#1 RA102 to a CALLSETUP MESSAGE #1 RA104 and forwards CALL SETUP MESSAGE #1 RA104 to CMPBA102. In step RA204, customer gateway BA112A performs communicationsprotocols and format conversions necessary to convert a standard IAMmessage to a message type that can be handled by CMP BA102. CMP BA102forwards CALL SETUP MESSAGE #1 RA104 to host gateway BA110.Additionally, CMP BA102 performs other call setup duties as describedabove in the Network Control Processor Section of this document withreference to FIGS. 14, 12, and 13. The CALL SETUP MESSAGE #1 RA104 alsocontains the Console that has been allocated for the call.

In a step RA206, host gateway BA10 converts CALL SETUP MESSAGE #1 RA104to IAM#2 RA106. Host gateway BA110 sends IAM#2 RA106 to matrix switchAB106 and stores the Console Number information in its tables. IAM#2RA106 directs matrix switch AB106 to route call audio AA142 to a stubRA142. Depending on the type of switch used, call audio AA144 is parkedat stub RA142. This is done in the event the call has to bereoriginated. If the call has to be reoriginated, it will go to stubRA142 and not to a console AB108. This is because if a call needs to bereoriginated, the same console AB108 may not be available to handle thatcall upon reorigination. In this case, the call is routed to stub RA142and a new console AB108 assigned. This allows allocation of the consolebest suited to handle the call.

In response, in a step RA207, matrix switch AB106 sends an IAM#2 A RA108to host gateway BA110. In a step RA208, host gateway BA110 sends anACM#1 RA110 and an ANM#1 RA112 to matrix switch AB106. ACM#1 RA110indicates to matrix switch AB106 that IAM#2 A RA108 is received, theaudio circuit is set up, and the network starts ringing. In this case,because this is an operator assisted call, the call is first routed toan operator console AB108. ANM#1 RA112 is generated by host gatewayBA110 because stub RA142 is incapable of generating ANM#1 RA112. Ineffect, ANM#1 RA112 tells matrix switch AB106 that stub RA142 has"answered" the call.

Matrix switch AB106 then sends an ACM message RA130 and ANM messageRA132 to the originating customer switch AA104 via host gateway AA110and customer gateway AA112.

In a step RA324, host gateway BA110 sends call accept message #1 RA130and call answer message #1 RA132 to customer gateway BA112A. This occursin a step RA324.

In a step RA326, customer gateway BA112A sends ACM#3 and ANM#3 RA134 andANM#3 RA136 to customer switch AA104. This indicates that the call hasbeen answered (by an operator console AB108).

The host gateway then retrieves the console number from its tables,translates it to a ten-digit called number and constructs a FAR messagewith this information to send to the Matrix Switch. The host gatewaysends FACILITY REQUEST MESSAGE #1 RA116 to the Matrix Switch AB106.

FACILITY REQUEST MESSAGE #1 RA116 instructs matrix switch AB106 totransfer call audio AA142 from stub RA142 to the console AB108identified in FACILITY REQUEST MESSAGE #1 RA116. In this example,FACILITY REQUEST MESSAGE #1 RA116 is an example of switch control dataAB122 (see FIG. 3).

Matrix switch AB106 generates a facility accept message RA118. Facilityaccept message is an acknowledgement by matrix switch AB106 that it hasreceived facility request message #1 RA116. In a step RA214, hostgateway BA110 receives facility accept message RA118.

In a step RA316, matrix switch AB106 generates a release stub messageRA120. Release stub message RA120 is sent to and received by hostgateway BA110. Release stub message RA120 indicates that call audioAB142 is no longer routed to stub RA142.

In a step RA318, matrix switch AB106 generates an IAM #3 RA122indicating that matrix switch AB106 is requesting to route call audioAA142 to the designated operator console AB108. Host gateway BA110receives address RA122 and converts it into a call setup message #3RA124. Host gateway BA110 sends call setup message #3 RA124 to CMPBA102. Call setup message #3 RA124 is in the format recognized by CMPBA102.

In a step RA322, host gateway BA110 sends ACM#2 RA126 and ANM#2 RA128 tomatrix switch AB106. These signals indicate that console AB108 hasaccepted and answered the call. In one embodiment, these signals aretriggered by a response RA152 from CMP BA102 indicating that it receivedcall setup message #3 RA124.

At this point, the call is setup in an operator console AB108. The humanoperator at manual operator console AB132 or the automated VRU AB134 canperform whatever operator operations are necessary to allow the call togo through. This can include validations, call rating, and verifyingthat a third party is willing to accept call charges.

Once operator console AB108 has verified that the call can be routed toits destination, call completion takes place. Call completion is nowdescribed. FIG. 126 is a data flow diagram illustrating the messagessent in completing the call. FIG. 127 is an operational flow diagramillustrating the steps followed in completing the call. Referring now toFIGS. 126 and 127, in a step RB202, operator console AB108 instructs CMPBA102 to complete the call. Before instructing CMP BA102 to complete thecall, operator console AB108 has performed whatever validations orverifications are necessary before the call will be allowed.

In a step RB204, CMP BA102 sends a call complete message RB102 to hostgateway BA110. In preparing call complete message RB102, CMP BA102 doesa database look-up in a termination translation database to obtain aroute number.

In a step RB206, host gateway BA110 creates facility request message #2RB104 and sends facility request message #2 RB104 to matrix switchAB106. Facility request message #2 RB104 instructs matrix switch AB106to transfer call audio AA142 from the assigned operator console AB108 tothe number of terminating user AA106A.

Additionally, matrix switch AB106 sends a FACILITY ACCEPT MESSAGE RB105and a RELEASE CONSOLE MESSAGE RB107 to host gateway BA110. FACILITYACCEPT MESSAGE RB105 indicates that FACILITY REQUEST MESSAGE #2 isreceived and accepted. RELEASE CONSOLE MESSAGE RB107 indicates that theconsole can be released from the call. These messages are converted andforwarded to CMP BA102. CMP BA102 sends a message to CRD BA106 releasingthe console.

Matrix switch AB106 sends IAM#4 RB106 to host gateway BA110. IAM#4 RB106is the message sent by matrix switch AB106 to route the call toterminating user AA106B.

In response, in a step RB210, host gateway BA110 sends CALL SETUPMESSAGE #4 RB108 to the CMP. The CMP then instructs the Billing Serverto add the CIC to its tables, and forwards the Call Setup Message to theCustomer Gateway BA112B.

In a step RB212, customer gateway BA112B sends IAM#5 RB110 to customerswitch AA104B. Thus, in steps RB210 and RB212, host gateway BA110 andcustomer gateway BA112B are forwarding the IAM sent from matrix switchAB106 to customer switch AA104B requesting that the call be routed. Inresponse, in a step RB214, customer switch AA104B sends ACM#4 RB112 tocustomer gateway BA112B. This indicates that customer switch AA104B hasaccepted the call. Also in step RB214, when terminating user AA106Banswers, customer switch AA104B sends an ANM#4 RB113 to customer gatewayBA112B. This indicates that terminating user AA106B answered the call.

In a step RB216, customer gateway BA112B sends a CALL ACCEPT MESSAGE #2RB114 and a CALL ANSWER MESSAGE #2 RB116 to host gateway BA110. CALLACCEPT MESSAGE #2 RB114 is sent in response to ACM #4 RB112 message.CALL ACCEPT MESSAGE #2 RB114 is intended to indicate to matrix switchAB106 that the call has been accepted by customer switch AA104B. CALLANSWER MESSAGE #2 RB116 is sent in response to ANM#4, and is intended toindicate to customer switch AA104A and to matrix switch AB106 thatterminating user AA106B has answered the call.

So that CALL ACCEPT MESSAGE #2 RB114 reaches matrix switch AB106, hostgateway BA110 converts it to ACM#5 RB118 and forwards it to matrixswitch AB106. Similarly, host gateway BA110 converts CALL ANSWER MESSAGE#2 RB116 to ANM#5 RB120, and forwards ANM#5 RB120 to matrix switchAB106. Thus, matrix switch AB106 is informed that the call has beenaccepted by customer switch AA104B, and that terminating user AA106B hasanswered the call. Now, the call is completed and routed fromoriginating user AA106A to terminating user AA106B. Host gateway sends astart timing message to start retail timing.

The process of releasing, or terminating the call is now described. FIG.128 is a data flow diagram illustrating the data flow that occurs when acall is terminated. FIG. 129, which comprises FIGS. 130 and 131, is anoperational flow diagram illustrating the process by which a call isterminated. Referring now to FIGS. 128 and 129, in a step RC202, when auser AA106 hangs up the phone, or otherwise severs the connection, arelease message REL#1 is generated. In this example, terminating userAA106B severs the connection first. In this case, customer switch AA104Bsends REL#1 RC102 to customer gateway BA112B.

In response, in a step RC204, customer gateway BA112B sends CALL RELEASEREQUEST MESSAGE #1 RC104 to CMP BA102 and sends out RLC #2 RC112 messageto the customer switch AA104B. CMP BA102 forwards CALL RELEASE REQUESTMESSAGE #1 RC104 to host gateway BA110. CMP BA102 also passes messagesto other processes within NCP AB104 so that a BIR EE322 can be updatedwith the time that the call was terminated.

In a step RC206, host gateway BA110 sends REL#2 RC106 to matrix switchAB106. REL#2 RC106 indicates to matrix switch AB106 that one of theusers AA106 has hung up, or the connection has otherwise been severed.

Matrix switch AB106 then severs the connection of call audio AA142 sothat the call is no longer routed to customer switch AA104B. Matrixswitch AB106 sends RLC#1 (release complete) RC108 to host gateway BA110as a response that it received REL#2 RC106. This occurs in a step RC208.

Matrix switch AB106 now needs to release customer switch AA104A so thatthe connection between customer switch AA104A and matrix switch AB106can be terminated. Therefore, in a step RC214, matrix switch AB106 sendsREL#3 RC114 to host gateway BA110 for ultimate transmission to customerswitch AA104A.

In a step RC216, host gateway BA110 converts REL#3 RC114 to a CALLRELEASE REQUEST MESSAGE #2 RC116. Host gateway BA110 sends CALL RELEASEREQUEST MESSAGE #2 RC116 to customer gateway BA112A. In a preferredembodiment, CALL RELEASE REQUEST MESSAGE #2 RC116 is sent via CMP BA102.Again, this is done so that BIR EE322 for the call can be updated and sothat CMP BA102 can delete a circuit identification code (CIC) for thecall.

Host gateway BA110 then generates and sends a RELEASE COMPLETE MESSAGE(RLC) #4 REC224 to matrix switch AB106. RLC#4 REC224 indicates thatrelease of the call is completed.

In a step RC318, customer gateway BA112A converts CALL RELEASE REQUESTMESSAGE #2 RC116 to an REL#4 RC118 for transmission to customer switchAA104A. This informs customer switch AA104A that the call has beenreleased.

In response, customer switch AA104A sends an RLC#3 RC120 to customergateway BA112A. This occurs in a step RC220. RLC#3 RC120 acknowledgesthat the call audio connection between customer switch AA104A and matrixswitch AB106 has been terminated.

9.0 CLIENT SERVER INTERFACE (CLIF)

Conventional client servers are usually provided with the functionalityto manage and maintain the connections with the various clients thatinterface thereto. Additionally, conventional client servers are oftenresponsible for performing load sharing among the clients. Theseoverhead functions consume valuable server processor time. This timetakes away from the time that the server can be used to perform actualserver functions such as database look-ups and retrievals.

The inventors have discovered that in many cases clients usually havemore time to perform overhead functions than do the servers. This isoften because each server is typically responsible for handling numerousclients. Therefore, the inventors have developed a client/serverinterface (CLIF) that operates differently from conventional clientservers. According to the CLIF of the present invention, servers areonly responsible for handling client requests and sending responses toclients. All of the management overhead burden is placed on the clients.The clients make all server requests, manage the server connection,perform retries, and other like functions. As a result, the server canhandle and respond to client requests more quickly than a conventionalserver, and can even handle more clients.

The client interface according to the present invention is not limitedto interfacing a client application with a server application. Theclient interface is also used to interface multiple clients. The clientinterface is now described at a high level. FIG. 132 is a high-levelblock diagram illustrating the use of the client interface according tothe present invention. Referring now to FIG. 132, each component withincall processing system AB102 (in other words CMP BA102, MOC AB132, etc.)has one or more applications SA102 to perform the functionality of thatcomponent. These applications SA102 can communicate with one anotherusing a client interface (CLIF) SA104. Applications SA102 use CLIF SA104to manage the transfer of messages between applications SA102. Not allapplications SA102 require a CLIF SA104 to perform interface functions.However, certain benefits are provided by CLIF SA104 as is discussed inthis section of the patent document.

One advantage of CLIF SA104 provides management of the connectionbetween applications SA102. Consider the example of an operator consoleAB108 requesting a validation from validation system AG102. In thisexample, an application SA102 within operator console AB108 uses a CLIFSA104 to perform the message transfer in conjunction with a CLIF SA104in validation system AG102.

Although there are numerous embodiments of CLIF SA104, one embodimentcontemplates CLIF SA104 managing communications over an Ethernet LAN.This embodiment is now described. FIG. 133 is a diagram illustratinglayers within a client and a server to handle communications over anEthernet LAN. Applications SA102 provide the functionality of eachparticular component with call processing system AB102. As mentioned,SA102 is using CLIF SA104 to manage message traffic between it and otherapplications SA102. Thus, if an application SA102 has a message in whichto send across a LAN SB122, it provides this message to CLIF SA104 tomanage the transfer.

CLIF SA104 performs message management functions as discussed in thissection of the patent document, and forwards the message to a userdatagram protocol (UDP) layer SA202. UPD is commonly known in thecommunications industry; its use extends an Internet address withadditional source/destination port numbers. In other words, a source anddestination of data can be identified a concatenation of an Internetaddress and a port number known as a socket. UDP allows one physicaladdress to be broken down into several logical addresses, thus allowingmore specific addressing within a limited number of physical addresses.

UDP SA202 adds a header to the message. The header consists ofsource/destination ports, a 16-bit length field, and a simple check sumof the data being sent. UDP SA202 then forwards the data to the Ethernetlayer, SA204.

It is again stressed that this example illustrates one embodiment usingTCP/IP (Transmission Control Protocol/Internet Protocol). It is stressedthat client interface SA104 and applications SA102 are not confined tocommunicating with one another using TCP/IP protocols nor are theyconfined to communicating via Ethernet. In fact, it is not even requiredthat the communications be via a LAN, although this is preferred.

Ethernet layer SA204 attaches an Ethernet header to the packet androutes the packet over LAN SA112 to the destination Ethernet layerSA204. Ethernet layer SA204 at the destination removes the ethernetheader information and provides the data to the UDP of layer SA202 atthe destination. Here UDP SA202 removes the UDP header information andprovides the message to CLIF SA104 at the destination. Note, where aCLIF SA104 is not used at the destination, this data is provideddirectly to the receiving application SA102. Also note that in the caseof some servers, a simplified CLIF SA104 (referred to as SRVR SA206) isused in place of CLIF SA104. SRVR SA206 does not provide all of thefunctionality of CLIF SA104. For example, SRVR SA206 does not check tosee if a message received is a duplicate message.

FIG. 134 is a diagram illustrating the configuration of a packet in thisembodiment sent across LAN SA112. Referring now to FIG. 134, this packetis now described. LAN packet SA302 includes message data SA304. Messagedata SA304 is the original data provided by sending application SA102.

A CLIF header SA306 is a header provided by CLIF SA104. CLIF headerSA306 contains information necessary for CLIF SA104 to perform messageand management functionality as described below. This functionality caninclude automatic re-transmission of messages, checking for duplicationof messages, and other message management-related functions. UDP headerSA308 is a user datagram protocol header consisting ofsource/destination ports, a 16-bit length field, and a single check sumof the data in the packet. UDP header SA 308 identifies the socket towhich the packet should be sent.

IEEE 802.3 header SA310 is the Ethernet header used to route packetSA302 across Ethernet LAN SA112.

The functionality of CLIF SA104 is now described at a high level. FIG.135 is a data flow diagram illustrating transmission of messages usingCLIF SA104. FIG. 136 is a high-level operational flow diagramillustrating the process followed by CLIF SA104 in handling messages.Referring now to FIGS. 135, 136 and 137, application SA102A (FIG. 135)wishes to send a request SB102 to application SA102B. For example,application SA102A may be running in CMP BA102, and may wish to send aGET CALLHANDLE REQUEST BA304 to BSRVR BA108.

To send request SB102, application SA102 utilizes CLIF SA104. In a stepSB202, CLIF SA104 sends request SB102 to application SA102B. ApplicationSA102B may or may not have its own CLIF SA104, depending on the level ofmessage management functionality required by application SA102B.

In a step SB204, CLIF SA104 sets a timer SA402 (illustrated in FIG. 137)to indicate the time that request SB102 was sent. Timer SA402 is used toestablish a time-out. If a response SB104 is not received by the timethe time-out period expires, CLIF SA104 may send another request SB102to SB102B.

If response SB104 is received before time-out period expires (decisionblock SB206) CLIF SA104 provides response SB104 to application SA102A.This occurs in the step SB210.

If, on the other hand, a response is not received before the time-outperiod expires (decision block SB206), CLIF SA104 determines whether itshould attempt to send request SB102 again (whether it should retry therequest). This occurs in step SB208. If the number of retries is notexhausted, CLIF SA104 sends another request SB102 to application SA102B.This occurs in a step SB214. At this time, CLIF SA104 sets another timerSA402 in step SB204 and waits for the response to be received before thetime-out period expires.

If, on the other hand, the number of retries allowed is exhausted instep SB208, CLIF SA104 determines whether there is another applicationSA102B to which request SB102 can be sent. For example, if a CLIF SA104in CMP BA102 repeatedly fails to get a response to a GET CALLHANDLEREQUEST BA304 from a BSRVR BA108, that CLIF SA104 can determine whetheranother BSRVR BA108 can respond to the GET CALLHANDLE REQUEST BA304.

If no other application SA102B is available, in a step SB216 CLIF SA104notifies application SA102A, that an error has occurred.

If, on the other hand, another application SA102B is available, CLIFSA104 begins the process again at step SB202 by sending request SB102 tothe other application SA102B.

The described features of utilizing timer SA402 to determine a time-out,establishing a number of retries indicating the number of times thatrequest SB102 can be resent, and finding an alternative server(application SA102B) are optional features of CLIF SA104.

One embodiment of CLIF SA104 is now described. FIG. 137 is a blockdiagram illustrating files and tables used by CLIF SA104 in oneembodiment.

Referring now to FIG. 137, CLIF SA104 uses a timer SA402, a retry countSA408, a duplicate detection table SA412, an outstanding request listSA406, a configuration file SA404, a buffer pool SA414, and an incomingpacket list SA410. In one embodiment, the retry count SA408 ismaintained in outstanding request list SA406, and the initial number ofretries allowed is kept in configuration file SA404.

Each CLIF SA104 performs message management functions for one or moreprocedures within an application SA102A. CLIF SA104 is responsible forsending messages to and receiving messages from other applicationsSA102D. Other applications SA102B may have their own CLIF SA104, or maycommunicate without using a CLIF SA104. Application SA102 may benetworked with other applications SA102B via a local area network or awide area network, or they may communicate via other communicationsmeans.

The process by which CLIF SA104 sends a message and receives a messageis now described. In this description, the message sent is termed arequest SB102 while the message received is termed a response SB104. Itshould be noted that CLIF SA104 can send any type of message, and thatmessage need not be a request. However, according to one embodiment, allmessages sent are replied to using a response so the sending CLIF SA104can verify that the message has been received at the destination.

FIG. 138 is a block diagram illustrating a request being sent SB102 anda response received SB104 by a CLIF SA104. FIG. 138 is similar to FIG.135, however, in FIG. 138, the application sending request SB102 and itsCLIF are termed a requesting application SA102A and CLIF SA104A.Similarly, the application receiving request SB102 and sending aresponse SB104 is labeled responding application SA102B and itsassociated CLIF is labeled SA104B. Please note that a CLIF SA104B isoptional on the responding side. FIG. 369, which comprises FIGS. 140 and141, is an operational flow diagram illustrating the process by whichCLIF SA104A sends and receives messages. FIG. 142, is an operationalflow diagram illustrating what occurs when a response is received byCLIF SA104. Again, this discussion is made in terms of sending a requestSB102 and receiving a response SB104 in reply to request SB102. Itshould be noted again that request SB102 and response SB104 are only onetype of message that could be sent and received by a CLIF SA104.

Referring now to FIGS. 138 and 139, in a step SB402, applications SA102(requesting application SA102A and responding application SA102B) informtheir respective CLIFs SA104A as to the messages they will be accepting.In this manner, applications SA102A can use CLIF SA104A to effectivelyfilter the messages that applications SA102 receive. Requestingapplication SA102A for example, can inform CLIF SA104A as to the certaintypes of messages that it is accepting. If a message is received by CLIFSA104 and it is not one of these message types, CLIF SA104A ignores ordiscards the message.

It should be noted that applications SA102 are only required to completestep SB402 if they expect requests to be made of them. It is notnecessary for an application SA102 to inform CLIF SA104 that it willaccept a response to a request made by that application SA102.

When requesting application SA102A wishes to send a request SB102 to aresponding application SA102B, requesting application SA102A firstinforms CLIF SA104A that it wishes to send a request SB102. This occursin a step SB404.

In a step SB406, CLIF SA104A determines which route to send requestSB102 to responding application SA102B. This determination is made usinginformation contained in configuration file SA404. To make thisdetermination, CLIF SA104A uses a cost factor table and a range ofclient addresses table contained in configuration file SA404. The costfactor table provides the cost to send request SB102 to respondingapplication SA102B over various routes. Using the cost factor table,CLIF SA104A can determine the most cost-effective route to use to sendrequest SB102. The range of client address tables specifies a range ofservers that can be used in sending request SB102.

In a preferred embodiment, the cost factor table is a matrix of sourcesand destinations. The intersection between each source and destinationpair is the cost for routing between that source and destination. CLIFSA104A can use the information in the cost factor table to determine thecost between each source and destination pair and the total cost of aroute made up of several source and destination pairs.

In a step SB408, CLIF SA104A saves request SB102 in outstanding requestlist SA406. Outstanding request list SA406 is used to track a requestSB102. When a response to a request SB102 is received, that requestSB102 is deleted from outstanding request list SA406. Thus, if a requestSB102 is found in outstanding request list SA406, CLIF SA104A knows thatno response SB104 has been received for that request SB102.

In a step SB410, CLIF SA104A sends request SB102 to the appropriatedestination (to responding application SA102B).

At the same time, in a step SB412, CLIF SA 104A starts timer SA402. Asnoted above, timer SA402 is used to establish a time-out period withinwhich response SB104 should be received. If response SB104 to requestSB102 is received before the time-out period has expired (decision blockSB414), the operation continues in a step SB502 (illustrated in FIG.142). If, on the other hand, response SB104 to request SB102 is notreceived within the time-out period, CLIF SA104A may attempt a retry. Inother words, CLIF SA104A may attempt to resend request SB102 to thedestination.

Before request SB102 is resent, CLIF SA104A examines the retry countSA408 for that request SB102. This occurs in a step SB416. If there areretries left, CLIF SA104A increments the retry count SA408 for thatrequest SB102 in a step SB417. CLIF continues at step SB410 and resendsrequest SB102.

If, on the other hand, no retries are left in step SB416, CLIF SA104Adetermines whether a new route can be chosen over which to send requestSB102 to the destination. This occurs in a step SB418.

If a new route exists (decision block SB420), CLIF SA104A continues atstep SB410 and sends request SB102 via the new route. If, however, nonew route exists (decision block SB420), CLIF SA104A informs requestingapplication SA102A that an error has occurred. This occurs in stepSB422. At this time, requesting application SA102A may decide to resendrequest SB102.

As mentioned above with reference to step SB414, if a response isreceived within the time-out period, the operation continues at stepSB502. Turning now to FIG. 142, in step SB502, a received response SB104is stored in a buffer pool SA414. In one embodiment, buffer pool SA414is maintained by a procedure kernel which informs CLIF SA104 when thereis a packet to be processed.

In a step SB504, CLIF SA104A matches the received response SB104 withthe requests SB102 in outstanding request list SA406. If response SB104corresponds to a request SB102 in outstanding request list SA406, thisrequest SB102 is deleted from outstanding request list SA406 in a stepSB506.

In a step SB508, CLIF SA104A provides response SB104 to applicationSA102A. In one embodiment, this step is accomplished by CLIF SA104Ainforming application SA102A that response SB104 has been received andstored in buffer pool SA414. Application SA102A then retrieves theresponse SB104 from buffer pool SA414.

FIGS. 138, 140, and 142 discussed message handling in terms of a CLIFSA104A sending a request SB102 and receiving a response SB104 in replythereto. CLIF SA104A is not limited to receiving only responses SB104.In fact, the above discussion makes it obvious that CLIFs SA104 canreceive requests SB102 from other applications SA102 or responses SB104from other applications SA102. Therefore, when a message is received bya CLIF SA104, it first checks to determine whether it is a responseSB104 to an outstanding request SB102, or whether it is a request SB102from another application SA102. If the message received is a requestSB102, CLIF SA104 informs application SA102 that a request SB102 hasbeen received. CLIF SA104 makes request SB102 available to applicationSA102.

In one embodiment, request SB102 is stored in buffer pool SA414, andapplication SA102 is notified that request SB102 has been received ifthe receiving application SA102 has registered for requests from thesending application SA102. Information about the request SB102 (e.g. theidentification of the sending application SA102, etc.) is stored inincoming packet list SA410.

A more detailed discussion of the procedure followed by a CLIF SA104when it receives a request SB102 is now described. FIG. 143 is anoperational flow diagram illustrating the process that occurs when aCLIF SA104 receives a request SB102.

Referring now to FIG. 143, in a step SB602, CLIF SA104 receives arequest SB102.

In a step SB604, CLIF SA104 checks to see if the received request SB102is a request that was previously sent and received by CLIF SA104. In oneembodiment, CLIF SA104 checks a retry count in a header of the message.If the retry count is zero (0), this indicates that the request SB102received is being sent from its originating application SA102 for thefirst time.

In this case, CLIF SA104 saves request SB102 in duplicate detectiontable SA412. This occurs in a step SB606. In one embodiment, requestSB102 is saved in duplicate detection table SA412 along with the timethat it was received. This enables CLIF SA104 to delete messages thathave reached a certain age.

In a step SB608, CLIF SA104 provides request SB102 to applicationSA102B. In one embodiment, CLIF SA104 informs application SA102B thatrequest SB102 is stored in buffer pool SA414 and application SA102Bretrieves request SB102.

If, on the other hand, the retry count in step SB604 is greater thanzero (0), this indicates that the request SB102 has been previously sentand this is a retry. In this case, CLIF SA104 checks duplicate detectiontable SA412 to see whether CLIF SA104 actually received this particularrequest SB102 before. This occurs in a step SB610. This check is usefulbecause request SB102 may be a retry for several reasons. One reason maybe because request SB102 was never received by CLIF SA104 when it wassent the first time due to a transmission error. In this case, no entryfor that request SB102 will appear in duplicate detection table SA412,and CLIF SA104 treats request SB102 as a new message.

If the retried request SB102 is a duplicate (decision block SB612), in astep SB614, CLIF SA104 either resends response SB104 or sends a holdresponse SD104 (illustrated in FIG. 146). If, on the other hand, theretried request SB102 is not a duplicate, CLIF SA104 saves request SB102in duplicate detection table SA412 in step SB606 and provides requestSB102 to application SA102B in step SB608.

The above discussion on the client interface describes how CLIFs SA104can be used to manage and handle message traffic. Additional featurescan be provided by CLIFs SA104, as are now described. These features caninclude duplicate detection (introduced above with reference to FIG.143) and a request hold feature.

The feature of duplicate detection is now described in detail. FIG. 144is a data flow diagram illustrating messages sent between requestingapplication SA102A and responding application SA102B using CLIFs SA104.FIG. 145 is a detailed operational flow diagram illustrating the processby which a CLIF SA104B detects the presence of a duplicate request SB102and prevents responding application SA102B from having to respond morethan once.

It is important to note that in order for this duplicate detectionfeature to operate, responding application SA102B must have anassociated CLIF SA104B. Although, as mentioned above, respondingapplications SA102B need not have a CLIF SA104 to respond to requests,having a CLIF SA104 allows this duplicate detection feature to beimplemented with reference to that responding application SA102B.

One example of where duplicate detection is not necessary is in the caseof call process database and NCP AB104. In this scenario, NCP AB104 isanalogous to requesting application SA102A. Debit card database KA272 isanalogous to responding application SA102B. (See FIG. 118.) In thiscase, when NCP BA104 sends a debit card dollar amount update to debitcard database KA272, debit card database KA272 does not care whether itgets updated twice (in other words, whether the same information iswritten into the database). Thus, in this scenario, having duplicatedetection is not needed.

Referring now to FIG. 144 and 145, the duplicate detection will now bedescribed in detail. In a step SC202, requesting application SA102Atells CLIF SA104A to send a request SB102. This is the same as theprocess that occurred in step SB404 of FIG. 140.

In a step SC204, CLIF SA104A sends request SB102 to destination CLIFSA104B. As described above, CLIF SA104A may set a timer SA402 whenrequest SB102 is sent. In step SC206, CLIF SA104B receives requestSB102. CLIF SA104B first determines that the message received is arequest SB102 and then determines whether the request is a duplicaterequest. This occurs in step SC208. The manner by which CLIF SA104Bdetermines whether request SB102 is a duplicate is illustrated in FIG.143 with reference to steps SB602 through SB608.

If this is not a duplicate request SB102 (in other words, if this is thefirst time CLIF SA104B received this request SB102), CLIF SA104Bprovides request SB102 to responding application SA102B. This occurs ina step SC210. Responding application SA102B prepares a response SB104 torequest SB102 and sends response SB104 to CLIF SA104B. In a step SC212,responding application SA102B tells CLIF SA104B to send response SB104.

In a step SC214, CLIF SA104B sends response SB104. In FIG. 144, this isillustrated as SB104A. According to this scenario, however, responseSB104A does not make it to CLIF SA104A that originally sent requestSB102. Therefore, when the time-out period expires at CLIF SA104A, CLIFSA104A will again send request SB102 to destination CLIF SA104B in stepSC204. This is illustrated by request SB102B.

CLIF SA104B receives request SB102B in step SC206. In step SC208, CLIFSA104B determines whether received request SB102B is a duplicaterequest. Because it is a duplicate request, CLIF SA104B bypasses stepSC210 and does not inform responding application SA102B of the request.This saves responding application SA102B from having to respond again toa second request. Instead, CLIF SA104B proceeds to step SC214 andresends response SB104. This is illustrated as SB104B in FIG. 144. Thistime, in step SC216, CLIF SA104A receives response SB104B within thetime-out period. CLIF SA104A provides response SB104B to requestingapplication SA102A.

One key advantage gained by duplicate detection is that it protects theintegrity of the data and the operation of call processing system AB102by not allowing requests SB102 to be processed more than once.Additionally, duplicate detection saves responding application SA102Bfrom having to respond to the same request SB102 twice. This shift ofmanagement overhead from responding application SA102B to CLIF SA104Bsaves valuable time in responding application SA102B. The managementoverhead associated with retrying the request SB102 is also shifted toCLIF SA104A, thus alleviating requesting application SA102A of theburden.

Another feature provided by CLIF SA104 is the ability to increase thetime interval between retries if responding application SA102B is busy.This feature is now described. FIG. 146 is a data flow diagramillustrating the manner in which one CLIF SA104B can increase the timeinterval between retries of a second CLIF SA104A. FIG. 147 is a detailedoperational flow diagram illustrating the process by which a first CLIFSA104B increases the time interval between retries of a second CLIFSA104A.

Referring now to FIGS. 146 and 147, in a step SD202, requestingapplication SA102A tells CLIF SA104A to send a request SB102.

In a step SD204, CLIF SA104A sends request SB102 to destination CLIFSA104B. CLIF SA104B receives request SB102 in step SD206. At this time,CLIF SA104B can perform duplicate detection and/or any other desiredfunctions of message handling.

In a step SD208, CLIF SA104B provides request SB102 to applicationSA102B. However, in this scenario, application SA102B is busy and isresponding to requests SB102 slower than is expected. This isillustrated in block SD210.

Because responding application SA102B is operating slower than expected,the time-out period in CLIF SA104A expires before a response SB104 isreceived. Thus, in step SD212, CLIF SA104A resends request SB102. Thisis illustrated by reference number SB102B in FIG. 146.

CLIF SA104B receives second request SB102B, examines the retry count,and determines that request SB102B was previously received and forwardedto responding application SA102B. Because responding application SA102Balready received request SB102, CLIF protects responding applicationSA102B from receiving it again. Therefore, in a step SD216, CLIF SA104Bsends a request hold message SD104 to CLIF SA104A. Request hold messageSD104 indicates to CLIF SA104A that responding application SA102Breceived request SB102 (and request SB102B), and that a response isforthcoming in due time. In one embodiment, CLIF SA104A responds torequest hold message SD104 by increasing the time-out time set by timerSA402. Thus, CLIF SA104A increases the time between retries.

An additional feature provided by CLIF SA104 is that it can provideautomatic retransmission of a request SB102 to another application SA102if requests SB102 to the first application SA102 have been unanswered.Thus, if a primary application SA102 appears busy or missing, CLIF SA104can automatically transmit the request SB102 to a secondary applicationthat can receive and process request SB102. Additionally, if the primaryapplication SA102 again becomes available, CLIF SA104 automaticallyreroutes the requests SB102 to that primary application once again.Multiple secondary applications SA102 can be designated as back-ups tothe primary. These can be prioritized to establish an order in whichCLIF SA104 tries to send requests SB102 to them.

This prioritization can be accomplished by referring to a priority listof multiple applications SA102, each performing the same function, and aroute table indicating to which application SA102 it would be mostefficient to route request SB102. Thus, if there are severalapplications SA102 that perform the same function (for example, severalapplications SA102 that can respond to a GET CALLHANDLE REQUEST BA304),CLIF SA104 can determine which of those several applications SA102should be used as the primary source, which should be secondary, and soon down the line, depending upon the number of applications SA102available.

The manner in which CLIF SA104 prioritizes applications SA102 to which arequest SB102 is sent is now described. FIG. 148 is a dataflow diagramillustrating the manner in which CLIF SA104 sends messages (for example,requests SB102) to an application SA102 with the highest priority. FIG.149 is an operational flow diagram illustrating the process by whichCLIF SA104 sends messages (for example, requests SB102) to anapplication SA102 having the highest priority.

Referring now to FIGS. 148 and 149, when CLIF SA104 receives a requestto send a message to another application SA102, CLIF SA104 first checksa priority list in configuration file SA404 to determine the preferredapplication SA102 to which request SB102 should be sent and the order ofpriority of applications SA102 to which request SB102 may be sent. Thisoccurs in a step SF202. In one embodiment, configuration file SA404 isexamined at application start-up and its information, including priorityinformation, is stored in a series of tables.

In a step SF204, CLIF SA104 sends request SB102 to the application SA102having the highest priority. This is illustrated in FIG. 148 asapplication SA102C.

When CLIF SA104 does not get a response SB104 within the designatedtime-out period, CLIF SA104 resends request SB102. Because, in thisscenario, the higher priority application SA102C is unavailable, theoriginal request SB102 and all the subsequent retries of request SB102remain unanswered. Therefore, CLIF SA104 continues to resend requestSB102 until the number of retries permitted is exhausted in a stepSF206. This is further illustrated in and described with reference toFIG. 140 in steps SB410-SB417.

CLIF SA104 updates its route tables to no longer show application SA102Cas the higher priority application because this application SA102C is nolonger available. Thus, all subsequent requests SB102 will be routed toa lower priority application SA102D until higher priority applicationSA102C is again available.

In a step SF208, CLIF SA104 determines the application SA102 next on thepriority list (illustrated in FIG. 148 as application SA102D). CLIFSA104 sends request SB102 (and subsequent requests SB102) to applicationSA102D. This step is illustrated and discussed with reference to stepSB418 in FIG. 140.

When request SB102 is re-routed to the lower priority applicationSA102D, CLIF also SA104 sends a check message to the controllingapplication (for example, the server controller) to determine if it isthe entire server or just the application SA102C that is not responding.The frequency of CHECK MESSAGE SF102 can further be limited by a settime interval.

To enable CLIF SA104 to determine when the higher priority applicationSA102C again becomes available, CLIF SA104 sends a CHECK MESSAGE SF102to the higher priority application SA102C. CLIF SA104 is expecting aCHECK MESSAGE RESPONSE SF104 when application SA102C is again available.CLIF SA104 can continue to send CHECK MESSAGE SF102 to applicationSA102C at periodic intervals until a CHECK MESSAGE RESPONSE SF104 isreceived. If application SA102C is available when it is sent a CHECKMESSAGE SF102, it sends CHECK MESSAGE RESPONSE SF104 to CLIF SA104. Thisis illustrated in step SF212.

In a step SF214, when CHECK MESSAGE RESPONSE SF104 is received, CLIFSA104 knows that SA102C is again available and updates its configurationfile SA404 to again show application SA102C as the higher priorityapplication. From this point on, new message (for example, requestsSB102) will be sent to application SA102C, and the operation continuesat step SF204.

10.0 DEF

One problem faced by developers of conventional call processing systemsis that of developing call processing software that is easilymaintainable and highly reconfigurable. Another problem is that ofcreating a call processing system capable of providing subscriber-uniquefeatures and capabilities. As the number of subscribers to theconventional call processing system increases, it becomes increasinglydifficult to provide highly maintainable and reconfigurable code tohandle a wide variety of custom and/or standard features usingconventional software techniques.

In many conventional systems, the call processing software is coded insuch a way that when changes are to be made to the system, entiresections of code have to be rewritten and recompiled. This can be atime-consuming task and requires that the platforms on which the code isrunning be brought to a non-operational status while the new software isloaded.

The inventors have developed a way to provide a wide array ofsubscriber-unique and standard call processing features whileeliminating the need to recompile large portions of operationalsoftware. According to the present invention, the call processingoperations are driven primarily by data records, known as DEF records.Call processing system AB102 uses DEF records in conjunction with callprocesses to provide subscriber-unique and standard call processingfeatures. A call processes is started when a new call enters callprocessing system AB102. The call process access one or more data fieldsin a DEF record that indicate how the call is to be processed. Thus, DEFrecords can be used to dictate certain subscriber-unique features andgeneric features as well. When changes are to be made to call processingsystem AB102, the majority of these changes can be made by updating thedata fields found in the DEF records. Thus, most changes to callprocessing system AB102 do not require operational software to bemodified, recompiled, and re-loaded.

The manner in which call processing system AB102 uses DEF records toprocess calls is now described. FIG. 150 is a high-level block diagramillustrating the manner in which DEF records are used by call processingsystem AB102 to process calls. FIG. 151 is an operational flow diagramillustrating the manner in which call processing AB102 uses DEF recordsand processes to handle calls. Referring now to FIGS. 150 and 151, in astep TA202, a call is received by call processing AB102. As describedabove in the Network Control Processor Section of this document, calldata AA144 is routed to NCP AB104 and call audio AA142 is routed tomatrix switch AB106. For operator-assisted calls, call audio AA142 isthen routed to an operator console AB108 to provide operator assistance.

In a step TA206, NCP AB104 identifies the call and the type of callbeing placed. The manner in which NCP AB104 processes the call is fullydescribed in the NCP Section of this document.

In a step TA210, NCP sends operator control data AB124 to operatorconsole AB108. Operator control data AB124 includes information requiredby operator console AB108 to process the call. This information includesa base process number, a DEF record number, and other call informationsuch as ANI, called party number, subscriber identification, etc. Atthis time, operator console AB108 can begin processing the call.

In a step TA214, operator console AB108 starts a base process TA102. Thebase process TA102 started is the base process identified by the baseprocess number that was sent by NCP AB104 with operator control dataAB124. Base process TA102 is a process template that contains the basicsteps that are to be followed by operator console AB108 in processingthe call. Base process TA102 is coded to look for certain pieces ofinformation within a DEF record TA104. Base process TA102 uses thisinformation to process the call. This information can dictate that baseprocess TA102 start other processes TA106, wait for user AA106 input, orwait for operator instructions.

In a step TA218, base process TA102 retrieves the DEF record TA104 asspecified by the DEF record number that was sent with operator controldata AB124.

In a step TA222, base process TA102 uses the information in DEF recordTA104 to process the call. This process is described in more detailbelow with reference to FIGS. 152 and 153.

In one embodiment, when base process TA102 has completed all of its callprocessing operations, it starts a finish process TA108 and sends a DEFrecord number identifying a DEF record TA110 that finish process TA108will use in finishing the call processing. The finish process TA108 isanother process that is designed to look for specific data tags TB104that describe how to finish the call process. For example, finishprocess TA108 may look for a specific tag TB104. This tag may point to arecord that displays keys on the operator screen for the operator topress to complete the call, or that displays (or plays in the case of aVRU AB134) a closing script.

In a step TA230, finish process TA108 starts complete call processTA112. Complete call process TA112 completes the call placed by userAA106.

The structure of DEF records TA104 (and TA110 in the case of a finishprocess TA108) is now more fully described. FIG. 152 is a diagramillustrating the structure of a DEF record TA104 in one embodiment. DEFrecord TA104 includes a DEF record number TB102. DEF record number TB102uniquely identifies each DEF record TA104. DEF record number TA102 issent to operator console AB108 with operator control data AB124. NCPAB104 determines which DEF record number TB102 to provide to operatorconsole AB108 using call data AB144 during the CALL ID LOOK-UP BA306.Different DEF records TA104 may be chosen and identified based on thetype of call that is placed, the particular subscriber AA114 or othercall information. Thus, the operation performed by base process TA102can be custom tailored based on call data AA144 and by the use ofdifferent DEF records TA104.

The fields within DEF record TA104 include a tag number TB104, a lengthfield TB106, and a data field TB108. Tag number TB104 is an identifierthat base process TA102 uses to find specific data TB110 within DEFrecord TA104. Length field TB106 specifies the length of data fieldTB108. Data field TB108 contains data TB110 used in processing the call.Data TB110 can be the actual data used to process the call, or can be areference to data in another data file, data table, or database.

Depending on the particular DEF record TA104, any number of fields,which comprise tag numbers TB104, length fields TB106 and data fieldsTB108, can be provided in a DEF record TA104.

Base process TA102 is coded to look for certain tag numbers TB104 withinDEF record TA104 at certain times. For example, base process TA102 maybe coded to look for tag number 1, then tag number 2, then tag number 3.Tag number 1 may be a tag identifying a greeting script to be played byan automated VRU AB134, or read by an operator at a manual operatorconsole AB132. In this case, base process TA102 looks in DEF recordTA104 for tag number 1 and reads data TB110 in data field TB108associated with tag number 1. In the case of a greeting script, dataTB110 will point to the script to be played, read, or synthesized touser AA106. The script can be customized to a particular customer AA110in a number of different ways. One way is for NCP AB104 to providecustomer AA110 identification to operator console AB108 with operatorcontrol data AB124. Operator console AB108 would then use thisidentification information in conjunction with data TB110 in data fieldTB108 associated with tag number 1 to read the carrier-unique greetingscript found in a database. For example, operator console AB108 will goto the database to retrieve the script identified by data TB110 and thecarrier identification. Operator console AB108 then plays this script touser AA106. In the case of a automated VRU AB134, the script played canbe voice synthesized or played from a recording. In the case of a manualoperator console AB132, the script is displayed in text format on ascreen and the human operator reads the script to the user AA106. Forexample, the script may say "Welcome to XYZ Company's voice mailsystem," or "Thank you for using XYZ Long Distance Company. Please enteryour calling card number now."

In addition to playing scripts, base process TA102 can be coded to findtags to perform numerous other functions. For example, base processTA102 can be coded to perform validation of data received. For example,base process TA102 may be coded to retrieve another tag that identifiesthat the called number should be validated to verify that the callednumber is the correct number of digits (for example, 10 digits). In thiscase, when base process reads the data TB110 associated with that tagnumber, base process TA102 may start an additional process TA106 thatperforms the validation. This results in a validation request GA122being sent to the validation system AG102. Once base process TA102starts the additional process TA106, it doesn't necessarily have to waitfor the additional process TA106 to be completed before moving on to thenext tag.

As another example, base process TA102 may be coded to retrieve anothertag that requires that the calling card number be validated throughvalidation system AB102 as described in the Validation System Section ofthis document. In this case, data field TB108 associated with that tagwill direct base process TA102 to send a request to validation systemAG102 to validate the calling card number. Base process TA102 continuesto read tags and perform the operations dictated by the tags. Thus,changes to call processing system AB102 can be made by redefining thedata TB110 in data fields TB108.

Base process TA102 need not look for every tag number TB104 within a DEFrecord TA104. It may, instead, only be coded to search for certain tagnumbers TB104 with a DEF record TA104.

When processing the call, base process TA102 is also capable ofaccepting and responding to inputs from user AA106. For example, dataTB110 may also include strings which base process TA102 uses to matchagainst user input. For example, base process TA102 may be programmed toretrieve TB104 that define data fields TB108 to match user input strings"1#," "2#," "3#." For each of these user input sequences, data TB110uniquely defines a process TA106 to be started or another base processTA102 to be started. For example, one particular DEF record TA104 maydefine that when a user dials 1#, a second base process TA102 should bestarted. Data TB110 identifies this base process with a base processnumber and can also identify a specific DEF record TA104 for the newbase process TA102 to use. For example, a user dialing 1# may indicatethat the user wishes to access a speed-dial feature. In this case, dataTB110 and DEF record TA104 will tell base process TA102 to start aspeed-dial process when this string is detected.

To recapitulate, processes TA102, TA106, perform operations the can bedone in a number of different manners. The way in which the operation isperformed for a specific call is dictated by the data TB220 pointed toby the tags TB104 referenced. As the process TA102, TA106 performs anoperation, it may come to a point where data TB110 from the DEF recordTA104 is required. At this point, the tag TB104 is referenced and itsassociated data TB110 retrieved.

Consider the base process TA102 as an example. A base process TA102 istypically designed to collect information from a user AA106, validatethe information collected, and pursue a course of action based on theinformation collected and the results of the validation. The generalframework for completing these operations is coded in the base processTA102: it must prompt the user for information, validate theinformation, and follow a course of action. The data TB110 retrievedusing tags TB104 provides the specific actions to be followed by theprocess TA102. These can include, but are not limited to: the manner inwhich the user is prompted, the order in which information is collected,the manner in which information is validated, the number of additionalchances a user AA106 is given after a failed validation, the action totake in the event the number of additional chances is echausted, theamount of time to wait for input, the action to take if the time-outperiod expires, and a large number of other parameters.

Thus, the data TB110 found in DEF records TA104 dictates how the call isto be processed by base process TA102. New features can be added,existing features changed or deleted, and features customized forspecific users by updating one or more DEF records TA104. Thus,operational code does not have to be modified and recompiled toimplement these types of changes.

To minimize the amount of duplication of data TB110, DEF records can bedefined at various levels. FIG. 153 is a diagram illustrating howdifferent levels of DEF records TA104 can be used to optimized datastorage.

Referring now to FIG. 153, a generic DEF record TB202 includes dataTB110 that is common to all subscribers AA114. A group DEF record TB204can contain data TB110 that is unique to a customer AA110. Because thisdata TB110 is unique to a customer AA110, it is not contained in genericDEF record TB202. If a particular customer AA110 has a unique featurethat is different from other carriers AA110, data TB110 for that featureis found in group DEF record TB204.

Specific DEF record TB206 defines data TB110 that is specific to a userAA106. If a user AA106 subscribes to features that are unique from otherusers AA106, data TB110 for those features will be contained in specificDEF record TB206.

In search for data TB110 using tag numbers TB104, base process TA102will first start in specific DEF record TB206. If tag number TB104 isnot found in specific DEF record TB206, base process TA102 then searchesgroup DEF record TB204. If tag number TB104 is not found in group DEFrecord TB204, base process TA102 then goes to generic DEF record TB202to find that tag number TB104. Thus, if a user AA106 has a uniquefeature, or that user's call is to be handled uniquely, the data TB110instructing base process TA102 on how to handle that call will be foundin specific DEF record TB206 and used.

A DEF record manager is a set of functions calls used to manage DEFrecords read by the application (for example, the operator consoleAB108). The DEF record manager associates a DEF record with a particularcall process (base process TA102). The allows the application to searchfor any tag TB104 in the system or tags TB104 within a particular DEFrecord TA104. This is done so that some tags TB104 may be accessed byany process TA102, TA106 that may require it while other tags TB104 canbe restricted only to the process TA102, TA106 reading the DEF recordTA104 containing the tag TB104.

12.0 HIGH-LEVEL OPERATIONAL SCENARIOS 12.1 OPERATOR SERVICES

Call processing system AB102 can be used to provide operator services tosubscribers AA114A. Call processing system AB102 can provide operatorassisted calling to originating users AA106A who subscribe to aprocessing system AB102, and to customers AA110. Customers AA110 may inturn offer these operator services to their subscribing users AA106. Asdiscussed previously in this document, one feature of call processingAB102 is that it can offer customer AA110 unique and user AA106 uniquecustomizable services. A high level scenario describing the manner inwhich operator services are provided by call processing system AB102 isnow presented. FIG. 154, which comprises FIGS. 155, 156, 157, and 158,is an operational flow diagram illustrating the high level operatorservices scenario. Referring now to FIG. 155, in a step YA104, callprocessing system AB102 receives a call requiring operator assistance.In a step YA108, call data AA144 associated with the call is routed toNCP AB104. Call audio AA142 of the call is routed to matrix switchAB106.

In a step YA112, NCP AB104 receives call data AA144 for the call. NCPAB104 determines the type of call being placed and the call processingrequired based on call data AA144. In one embodiment, this isaccomplished by NCP AB104 performing database look-ups using call dataAA144 to search for data records. In this embodiment, the data recordsindicate the type of processing and operator services required to handlethe call. An example of this is where CMP BA102 retrieves callparameters BA308 from a database served by DBS BA104 and is discussed inthe NCP Section of this document with reference to FIGS. 10, 12, and 14.Also, NCP AB104 determines the optimal routing of the call.

In a step YA116, NCP AB104 sends the routing information to matrixswitch AB106. Because this is an operator-assisted call, as determinedby NCP AB104 in step YA112, the call routing information includesinstructions from matrix switch AB106 regarding which operator consoleAB108 should receive call audio AA142 for the call. Thus, call audioAA142 can be routed to the proper operator console AB108. It should benoted that depending on the type of operator assistance required, theoperator console AB108 to which the call is routed can be a voiceresponse unit AB134, a manual operator console AB132, or a customerservice console AB136. In response to this routing information, matrixswitch AB106 routes the call to the designated operator console AB108.Because NCP AB104 is controlling the call data AB144, and the operatorconsole AB108 only gets the call audio AB142 portion of the call frommatrix switch AB106, operator console AB108 is treated as any otherdestination. Therefore, the specified operator console AB108 can betreated just like any other terminating point of matrix switch AB106.Traditionally, such treatment was limited only to other switches andspecial ports were required on the conventional matrix switch tointerface to the operator consoles.

In a step YA120, NCP AB104 sends operator control data AB124 to thespecified operator console AB108. Operator control data AB124 caninclude call ID information that indicates the type of call and the typeof processing required to handle the call. Because call processingsystem AB102 is highly data driven, the type of call processing requiredfor a call type can be customized for a specific originating user AA106Aor customer AA110. Changes to the way in which a particular call isprocessed can be accomplished simply by changing the data in the datarecords retrieved by NCP AB104 when determining the call processingrequirements.

Operator control data AB124 tells the specified operator console AB108that it is receiving a call and how the call should be processed.

Depending on the type of call being placed, the call can be handled byeither a manual operator console AB132 or a voice response unit AB134.For calls requiring a human operator, a manual operator console AB132 isdesired. It should be noted that users AA106A or customers AA110 mayspecify whether automated call handling is acceptable at a VRU AB134 orwhether they prefer that their calls are always handled by a humanoperator at a manual operator console AB132. In one embodiment, this iscontrolled by call parameters BA308 and can easily be changed bychanging the data found in the data records retrieved for one or moreoriginating users AA106A or customers AA110.

If the call requires a manual operator console AB132, the operationcontinues in a step YA304 as illustrated in FIG. 157. On the other hand,if the call can be handled using a VRU AB134, the operation continues ina step YA204 as illustrated in FIG. 156. The manner in which the call isset up using an automated voice response unit AB134 is now describedwith reference to FIG. 156. Referring now to FIG. 156, in a step YA204,the specified VRU AB134 requests information from originating userAA106A. The request can be a request for the number that originatinguser AA106A wishes to call, the feature the originating user AA106Awishes to access, calling card or credit card information, or otherinformation required to complete the call. The order in which voiceresponse unit AB134 requests this call information can be customized foreach carrier AA110 or for each individual user AA106A. The customizationcan be based on call parameters BA308 and/or the manner in which DEFrecords are implemented for each originating user AA106A or customerAA110. DEF records are completely described in the DEF section of thisdocument.

If originating user AA106A is placing a calling card, debit card, orcredit card call, automated voice response unit AB134 may send thisbilling information to an external validation system AG102 so that itmay be validated externally in one embodiment. This occurs in a stepYA208. In alternative embodiments, validation of billing information isperformed internal to call processing system AB102.

In a step YA212, if a terminating (called) number is entered, thatnumber is validated to verify that it is a valid number. In oneembodiment, this is accomplished by using an internal validation systemto determine whether it is a valid number. Other validation checks caninclude a check to see that the number contains the correct number ofdigits, that is made to a geographic area as allowed by the customerAA110, has a valid area code, and other like validation information.

In a step YA216, fraud detection and prevention system AG112 can be usedin one embodiment, to monitor the call for potential fraudulent uses.Such monitoring is fully described in the Fraud System Section of thisdocument.

If all the information entered by originating user AA106A is valid(decision block YA220) the operation continues in a step YA404 (FIG.158) in which the call completion commences. If, on the other hand, anyor all of the information is found to be invalid, in a step YA222,automated voice response unit AB134 informs NCP AB104 that the call istransferred to an MOC. In response, call audio AA142 is routed back tomatrix switch AB106, and NCP AB104 instructs matrix switch AB106 toroute call audio AA142 to a manual operator console AB132. This occursin a step YA226. This is done so that human operator intervention can beprovided. The steps taken from this point are described beginning in astep YA316 in FIG. 157. This is described in detail below with referenceto handling of the call with a manual operator console AB132. Inalternative embodiments, automated VRU AB134 can provide originatinguser AA106A with options that could potentially assist in correcting thesituation that led to the invalidation. For example, automated VRU AB134may ask a user to enter a new credit card number where theoriginally-entered number was found to be invalid, or, automated voiceresponse unit AB134 may ask a debit card user if they would like toreplenish their debit card using a credit card if such a feature isoffered. These examples serve to illustrate two of the numerous ways VRUAB134 may attempt to revalidate the card.

As discussed above with reference to step YA122 of FIG. 155, if manualoperator handling is desired, the operation continues at a step YA304 inFIG. 157. Referring now to FIG. 157, the human operator requestsinformation from a caller and enters the received information via akeyboard attached to the manual operator console AB132. Such informationcan include calling card number, a credit card number, a debit cardnumber, a terminating (called) number, and other like information thatmay be required before the call can be completed.

In a step YA308, operator console AB132 performs validations, whererequired, on card numbers, called numbers, and other billinginformation, as described above with reference to steps YA202, YA212,and YA216. If the validated information checks out to be valid (decisionblock YA312) the operation continues in a step YA404 (illustrated inFIG. 158) in which the call is completed. If, on the other hand, one ofthe validated parameters proves to be invalid, the operator informsoriginating user AA106A of the problem and provides options to solve theproblem. This occurs in a step YA316. These options can include askingthe originating user AA106A for a new credit card number, a new callingcard number, or other alternative information. If alternativeinformation is provided, manual operator console AB132 validates thisalternative information in a step YA308. This is illustrated with afeedback loop YA342. If no alternatives are provided, the call isterminated as illustrated in a step YA320.

As discussed above, when all the information is validated, the operatorconsole AB108 chosen to handle the call begins the process of callcompletion. This is illustrated in FIG. 158. Referring now to FIG. 158,in a step YA404, operator console AB108 informs NCP AB104 that the callcan be completed. In one embodiment, this information has operatorresponse data AB126.

In a step YA408, NCP AB104 determines the optimum routing for the call.In one embodiment, the manner in which this is performed is described inthis document with reference to FIGS. 17 and 21. In this embodiment,this is accomplished by doing a look-up using DBS BA104 to look-up theoptimum routing of the call.

In step YA412, NCP AB104 instructs matrix switch AB106 to complete thecall using the designated route. In this step, NCP AB104 sends switchcontrol data AB122 to matrix switch AB106 to instruct matrix switchAB106 to complete the call.

In a step YA416, matrix switch AB106 routes the call to the terminating(called) number as instructed in step YA412.

12.2 ENHANCED SERVICES CARD CALL

One feature of call processing system AB102 is that it allows usersAA106 who are subscribers AA114 of call processing system AB102 toobtain an enhanced services card. The enhanced services card is a typeof calling card that allows a user to access and utilize any or all ofthe features that can be provided by call processing system AB102.Additionally, customer AA110 can provide enhanced services cards to itssubscribing users AA106.

A scenario describing the manner in which an enhanced services card callis processed by call processing system AB102 is now described. FIG. 159,which comprises FIGS. 160 and 161, is an operational flow diagramillustrating the manner in which call processing system AB102 processesan enhanced services card call according to one embodiment.

Referring now to FIGS. 160 and 161, an originating user AA106A places anenhanced services card call. This could be accomplished in a number ofdifferent ways. In one embodiment, originating user AA106A is providedwith an 800 access number by which the call can be placed. In thisembodiment, whenever an originating user AA106A wishes to place anenhanced services card call, she dials the designated 800 number. When acall comes into call processing system AB102 under this number, callprocessing system AB102 knows that it is an enhanced services card calland handles the call accordingly. In one embodiment, call processingsystem AB102 provides an audible menu from which originating user AA106Acan choose the feature(s) she wishes to access.

In a step YB104, call processing system AB102 receives an enhancedservices card call. As noted above, this could be via a specific 800number designated for enhanced services card calls.

In a step YB108, call data AA144 is routed to NCP AB104, and call audioAA142 is routed to matrix switch AB106. When NCP AB104 receives calldata AA144 in step YB112, NCP AB104 determines the type of call beingplaced and the processing required. Specifically, in this scenario, NCPAB104 determines that the call is an enhanced services card call andperforms database look-ups to determine the type of call processingrequired. In this step, NCP AB104 determines that an operator consoleAB108 should be designated to handle the call. Because responses to menuprompts and card numbers can be entered using the telephone keypad, anautomated voice response unit AB134 is all that is typically required tohandle the call. Usually, enhanced services card calls do not require ahuman operator at a manual operator console AB132. Thus, in VRU stepYB112, NCP AB104 determines that the call can be routed to AB134.

In a step YB116, NCP AB104 sends routing information to matrix switchAB106, indicating that the call can be routed to the proper VRU AB134.This call routing information can include instructions for matrix switchAB106 as to which specific voice response unit should receive the callaudio AA142 portion of the call. In response, matrix switch AB106 routescall audio AB142 to the designated VRU AB134. After the call is routed,NCP AB104 sends operator control data AB124 to the designated VRU AB134.Operator control data AB124 includes call information, such as anypertinent information retrieved with call parameters BA308.Additionally, operator control data AB124 includes data telling that VRUAB134 that it is receiving a call and how the call should be processed.At this point, the call is completed to the designated VRU AB134.

In a step YB120, operator console AB108 requests required informationfrom originating user AA106A. This information can be information suchas the number originating user AA106A wishes to call, the feature shewishes to access, calling card information, and any other likeinformation. The information requested and the order in which it isrequested can be customized as specified by subscriber AA114 and/or auser AA106 of customer AA110. In one embodiment, this customization isprovided as a function of DEF records (described in the DEF Section ofthis document) and the call parameter BA308 data records retrievedduring the call ID look-up. Originating user AA106A responds to thisquery by pressing the appropriate keys on the telephone keypad. This canbe a selection from a menu, or entry of the card number.

In a step YB124, the enhanced services card information entered byoriginating user AA106A is validated. In one embodiment, this validationis performed by Validation System AG102. An internal validation may beperformed to determine if external validation by Validation System AG102is necessary.

If a magnetic card reader is provided at the location of originatinguser AA106A, originating user AA106A may not be required to enter herenhanced services card information as this can be read electronicallyand provided to automated VRU AB134.

In a step YB126, if a terminating (called) number is entered, thisnumber is validated to determine that it is a valid number. In otherwords, it is validated to determine whether it contains the correctnumber of digits, the area code is valid, and other like parameters.Call processing system AB102 can also perform look-ups againstinformation in the fraud detection and prevention system AG112 asdiscussed in the Fraud System Section of this document.

In a step YB202, if originating user AA106A enters a feature accesscode, this code is validated to determine whether it is a valid featurefor that particular enhanced services card. Additionally, originatinguser AA106A may be prompted to enter a security code which can then bevalidated against the card number.

In one embodiment, the system performs look-ups to determine if enhancedfeatures are available to the enhanced services card number that isbeing used, that the feature code is a valid access code, and whichfeature the code provides access to. In one embodiment, the databaselook-up for feature availability can be done at the time that the cardnumber is entered as part of card number verification. Enhanced featureavailability and access codes can be customized at the card level basedon card numbers. Some of the features that can be provided include, butare not limited to, conference calling, voice mail, directoryassistance, and information services. Again, this customization is afunction of the DEF records and the call parameters BA308 retrievedduring call ID look-up.

If any of the information entered by the caller is invalid (decisionblock YB203), automated VRU AB134 gives the caller a second chance toenter valid information. If the second attempt fails, the VRU informsNCP AB104 via operator response data AB126 of such a failed attempt. Inthis case, NCP AB104 can provide the call to a manual operator consolefor additional handling. In this case, the audio portion of the call istransferred back to matrix switch AB106 and then sent to the manualoperator console AB132 based on information provided by NCP AB104.

This second attempt to enter valid information and the transfer to themanual operator console are options that are configurable on a per-userAA106 basis. The system can be set up so that any number of attempts canbe permitted before the call is terminated. Additionally, it is notnecessary that the call be sent to a manual operator console AB132 torequest additional information from originating user AA106A. This couldbe performed at a certain level by automated VRU AB134. Also, callprocessing system AB102 could be set up so that the automated VRU AB134plays or synthesizes a script asking the caller to call a customerservice line, to hang up and try again, or whatever other additionalinstructions may be specified by customer AA110. If the information isvalidated as indicated by decision block YB203, in a step YB204,operator console AB108 informs NCP AB104 that the call can be completed.This information is provided via operator response data AB126.

In a step YB204, operator console AB108 informs NCP AB104 that the callcan be completed. This information is provided in operator response dataAB126.

In a step YB208, NCP AB104 determines the optimum routing to route thecall to the terminating (called) number. This can be accomplished bydata look-up as described above with reference to FIGS. 21 and 17. Thelook-up can be based on the originating number, terminating number,feature access, account, and access method. Once this is done, NCP AB104sends a complete call request to matrix switch AB106. The complete callrequest contains all the information needed by matrix switch AB106 togenerate call data required to route the call to the correctdestination.

In a step YB212, matrix switch AB106 uses the information provided byNCP AB104 to complete the call. The call can be returned to the carriernetwork in the case of a customer AA110 that is a carrier, or a networkof call processing system AB102 for completion.

At any point after call is completed to the destination number,originating user AA106A may press a designated key (for instance, the #)and re-originate the call. Re-origination takes the caller to the pointwhere she entered a valid called number or feature access code. Thus, byre-originating, originating user AA106A may place another call withouthaving to re-enter the card billing information. This is illustrated bya step YB216. The number of times a caller may re-originate a call isconfigurable.

12.3 DEBIT CARD CALLS

Call processing system AB102 can be used to provide subscribers with theoption of making toll calls using debit cards. Call processing systemAB102 can provide debit card calling to originating users AA106A whosubscribe to a processing system AB102, and to customers AA110.Customers AA110 may in turn offer debit card calling to theirsubscribing users AA106. As discussed previously in this document, onefeature of call processing system AB102 is that it can offer customerAA110 and user AA106 unique customizable services. A high level scenariodescribing the manner in which debit card calling can be provided bycall processing system AB102 is now presented. FIG. 162, which comprisesFIGS. 163, 164, 165, and 166, is an operational flow diagramillustrating a debit card calling scenario. Referring now to FIG. 163,in a step YC104, call processing system AB102 receives a call. In oneembodiment, the call is made to a designated debit card 800 number. Inthis embodiment, call processing system AB102 knows that the call is adebit card call based on the 800 number. In an alternative embodiment, a0, or 0+ call is placed. In this alternative, an operator console AB108must intervene to process the debit card call.

In a step YC108, call data AA144 associated with the call is routed toNCP AB104. Call audio AA142 of the call is routed to matrix switchAB106.

In a step YC112, NCP AB104 receives call data AA144 for the call. NCPAB104 determines the type of call being placed and the call processingrequired based on call data AA144. In one embodiment, this isaccomplished by NCP AB104 performing database look-ups using call dataAA144 to search for data records. For example, CMP BA102 retrieves callparameters BA308 from a database served by DBS BA104 and based on thecalled number (the debit card 800#), call parameters indicate that adebit card call is being placed.

In a step YC116, NCP AB104 sends the routing information to matrixswitch AB106. Because this is a debit card call, as determined by NCPAB104 in step YC112, the call routing information includes instructionsfrom matrix switch AB106 regarding which operator console AB108 shouldreceive call audio AA142 for the call. Thus, call audio AA142 can berouted to the proper operator console AB108. It should be noted thatbecause this is a debit card call, the operator console AB108 to whichthe call is routed is preferably a VRU AB134. In response to thisrouting information, matrix switch AB106 routes the call to thedesignated operator console AB108. Because NCP AB104 is controlling thecall data AB144, and the operator console AB108 only gets the call audioAB142 portion of the call from matrix switch AB106, operator consoleAB108 is treated as any other destination. Therefore, the specifiedoperator console AB108 can be treated just like any other terminatingpoint of matrix switch AB106. Traditionally, such treatment was limitedonly to other switches and special ports were required on theconventional matrix switch to interface to the operator consoles.

In a step YC120, NCP AB104 sends operator control data AB124 to thespecified operator console AB108. Operator control data AB124 caninclude call ID information that indicates the type of call and the typeof processing required to handle the call. Because call processingsystem AB102 is highly data driven, the type of call processing providedfor a debit card call can be customized for a specific originating userAA106A or customer AA110. Changes to the way in which a particular callis processed can be accomplished simply by changing the data in the datarecords retrieved by NCP AB104 when determining the call processingrequirements.

Operator control data AB124 tells the specified operator console AB108that it is receiving a debit card call and how the call should beprocessed.

Because this is a debit card call, a VRU AB134 is preferred. It shouldbe noted that users AA106A or customers AA110 may specify whetherautomated call handling is acceptable or whether they prefer that theircalls are always handled by a human operator at a manual operatorconsole AB132. In one embodiment, this is controlled by call parametersBA308 and can be easily be changed by changing the data found in datarecords retrieved for one or more originating users AA106A or customersAA110.

If the call requires a manual operator console, the operation continuesin a step YC304 as illustrated in FIG. 165. On the other hand, if thecall can be handled using an automated VRU AB134, the operationcontinues in a step YC204 as illustrated in FIG. 164. The manner inwhich the call is set up using an automated VRU AB134 is now describedwith reference to FIG. 164. Referring now to FIG. 164, in a step YC204,the specified VRU AB134 requests information from originating userAA106A. The request can be a request for the number that originatinguser AA106A wishes to call, and/or for the debit card number, or otherinformation required to complete the call. The order in which VRU AB134requests this call information can be customized for each carrier AA110or for each individual user AA106A. The customization can be based oncall parameters BA308 and/or the manner in which DEF records areimplemented for each originating user AA106A or customer AA110. DEFrecords are completely described in the DEF Section of this document.

Debit card information (for example, debit card number, and/or securityaccess code, etc) is sent by automated VRU AB134 to Validation SystemAG102 so that the information may be validated externally in oneembodiment. This occurs in a step YC208. In alternative embodiments,validation of the debit card information is performed internal to thecall processing system AB102.

In a step YC212, if a terminating (called) number is entered, thatnumber is validated to verify that it is a valid number. In oneembodiment, this is accomplished by using an internal validation systemto determine whether it is a valid number. A validation check caninclude a check to see that the number contains the correct number ofdigits, that is made to a geographic area as allowed by the customerAA110, has a valid area code, and other like validation information.

In a step YC216, Fraud detection and prevention system AG112 can be usedin one embodiment, to monitor the call for potential fraudulent uses.Such monitoring is fully described in the Fraud System Section of thisdocument. Information provided to the Fraud detection and preventionsystem AG112 can include the ANI, the debit card number, the callednumber, and other call information.

In a step YC218, calling time is calculated based on rating informationassociated with the card. If the card is flat-rated, the remaining timeis calculated against the remaining dollar balance on the card. If thecard rates are based on call distance and/or time of day the systemobtains a rate quote from Billing System AG102 as discussed above in theBilling System Section of this document, and calculates the remainingtime. Debit card features can be customized for each carrier AA110 orfor each individual user AA106A. The customization can be down to thecard level. Debit card calling can be based on a flat rate or based onmileage and/or time of day in increments specified by subscriber AA114.The customization can be based on call parameters BA308 and/or themanner in which DEF records are implemented for each originating userAA106A or customer AA110. DEF records are completely described in theDEF Section of this document.

If all the information entered by originating user AA106A is valid(decision block YC220) the operation continues in a step YC404 (FIG.166) in which the call completion commences. If, on the other hand, anyor all of the information is found to be invalid, VRU AB134 may give thecaller a "second chance" to enter the correct information. Or the usermay be given a chance to replenish the debit card.

If it is still invalid, in a step YC222, automated VRU AB134 informs NCPAB104 that the call is invalid. In response, call audio AA142 is routedback to matrix switch AB106, and NCP AB104 instructs matrix switch AB106to route call audio AA142 to a manual operator console AB132. Thisoccurs in a step YC226. This is done so that human operator interventioncan be provided. The steps taken from this point are described beginningin a step YC316 in FIG. 165. This is described in detail below withreference to handling of the call with a manual operator console AB132.In an alternative embodiment, the call is not routed to a manualoperator console AB132 but is instead terminated by VRU AB134.

As discussed above with reference to step YC122 of FIG. 163, if manualoperator handling is desired, the operation continues at a step YC304 inFIG. 165. Referring now to FIG. 165, the human operator requestsinformation from the caller and enters the received information via akeyboard attached to the manual operator console AB132. Such informationcan include the debit card number, a terminating (called) number, andother like information that may be required before the call can becompleted. If the caller wishes to replenish a debit card, thisinformation can include a credit card number used to pay forreplenishing the debit card.

In a step YC308, operator console AB132 performs validations, whererequired, on card numbers, called numbers, and other billinginformation, as described above with reference to steps YC202, YC212,and YC216. Manual operator console AB132 also computes the calling timeallowed (as per step YC218). If the validated information checks out tobe valid (decision block YC302) and there is enough time left on thedebit card, the operation continues in a step YC404 (illustrated in FIG.166) in which the call is completed. If, on the other hand, one of thevalidated parameters proves to be invalid, the operator informsoriginating user AA106A of the problem and provides options to solve theproblem. This occurs in a step YC316. These options can include askingthe originating user AA106A for a credit card number to replenish thedebit card, or other alternative information. If alternative informationis provided, manual operator console AB132 validates this alternativeinformation in step YC308. This is illustrated with a feedback loopYC342. If no alternatives are provided, the call is terminated by MOCAB132 as illustrated in a step YC320.

If the call is terminated before it is completed, the operator consoleAB108 that terminates the call (VRU AB134 or MOC AB132) informs NCPAB104 that the call is terminated so that time and charges against thecard are not accrued.

Whether a second chance is provided and whether the call is transferredto an manual operator console AB132 for additional assistance, areoptions that can be selected by the client. These options can becustomized to the customer AA110, user AA106, or card level.

As discussed above, when all the information is validated, the operatorconsole AB108 chosen to handle the call begins the process of callcompletion. This is illustrated in FIG. 166. Referring now to FIG. 166,in a step YC402, the operator console AB108 handling the call informsthe caller of the calling time remaining on the call.

In a step YC404, operator console AB108 informs NCP AB104 that the callcan be completed. In one embodiment, this information has operatorresponse data AB126.

In a step YC408, NCP AB104 determines the optimum routing for the call.In one embodiment, the manner in which this is performed is described inthis document with reference to FIGS. 17 and 21. In this embodiment,this is accomplished by doing a look-up using DBS BA104 to look-up theoptimum routing of the call.

In step YC412, NCP AB104 instructs matrix switch AB106 to complete thecall using the designated route. In this step, NCP AB104 sends switchcontrol data AB122 to matrix switch AB106 to instruct matrix switchAB106 to complete the call.

In a step YC416, matrix switch AB106 routes the call to the terminating(called) number as instructed in step YC412.

In a step YC418, NCP AB104 monitors the call duration and provideswarnings to the caller when the time remaining on the card is about toexpire. The manner in which this is accomplished is fully discussedabove in the Billing System Section of this document.

At any time, originating user AA106A (the caller) may press a designatedkey (for example, the # key) and reoriginate on call processing systemAB102. Reorigination takes the caller to the step of entering a validcalled number and placing another call without having to re-enter thecard number. The number of times a caller may reoriginate isconfigurable and customizable to the user AA106, customer AA110 and cardlevels. The caller may be restricted from reoriginating when theremaining dollar amount on the card reaches zero.

12.4 800 NUMBER FORWARDING

An additional service provided by call processing system AB102 is theability for a USER AA106 to program its 800 number to forward it (orre-route it) to another telephone number. This is useful for asalesperson, for example, who wants customers to reach her via her 800number when she is travelling away from the office. The salespersoncould access call processing system AB102, enter the 800 number and asecurity code, and then enter the number to which she wishes her 800calls to be forwarded. This service is denominated "800 On The Go."

There are at least two scenarios that may occur in conjunction with 800on the go. One scenario is that of the USER AA106 programming the numberto which he wants his calls to forward ("800 On the Go" programming). Asecond scenario is the process followed by call processing system AB102in completing a call placed to a forwarded 800 number. Note that thisservice is not limited to forwarding of 800 numbers, but could beimplemented to forward other numbers as well.

A high level scenario describing the manner in which a subscriber AA114re-routes an 800 number ("800 On The Go" programming) using callprocessing system AB102 is now presented. FIG. 167, which comprisesFIGS. 168, 169, 170, and 171, is an operational flow diagramillustrating the manner in which a subscriber re-routes her 800 number.Referring now to FIG. 167, in a step YD104, call processing system AB102receives an 800 re-routing call. In one embodiment, this call is placedto a specific 800 number designated for 800 number re-routing In a stepYD108, call data AA144 associated with the call is routed to NCP AB104.Call audio AA142 of the call is routed to matrix switch AB106.

In a step YD112, NCP AB104 receives call data AA144 for the call. NCPAB104 determines the type of call being placed and the call processingrequired based on call data AA144. In one embodiment, this isaccomplished by NCP AB104 performing database look-ups using call dataAA144 to search for data records. In this embodiment, the data recordsindicate the type of processing and operator services required to handlethe call. An example of this is where CMP BA102 retrieves callparameters BA308 from a database served DBS BA104 and is discussed inthe Network Control Processor Section of this document. Also, NCP AB104determines the optimal routing of the call. Because the terminating(called) number of this call is the designated 800 number for 800 numberre-routing, NCP AB104 determines that the caller needs to interface to aVRU AB134 to perform the re-routing.

In a step YD116, NCP AB104 sends the routing information to matrixswitch AB106. Because this is an 800 number re-routing call, asdetermined by NCP AB104 in step YD112, the call routing informationincludes instructions from matrix switch AB106 regarding which operatorconsole AB108 should receive call audio AA142 for the call. Thus, callaudio AA142 can be routed to the proper operator console AB108. Itshould be noted that because this is an 800 number re-routing call, thepreferred operator console AB108 to which the call is routed is a VRUAB134. In response to this routing information, matrix switch AB106routes the call to the designated operator console AB108. Because NCPAB104 is controlling the call data AB144, and the operator console AB108only gets the call audio AB142 portion of the call from matrix switchAB106, operator console AB108 is treated as any other destination.Therefore, the specified operator console AB108 can be treated just likeany other terminating point of matrix switch AB106. Traditionally, suchtreatment was limited only to other switches and special ports wererequired on the conventional matrix switch to interface to the operatorconsoles.

In a step YD120, NCP AB104 sends operator control data AB124 to thespecified operator console AB108. Operator control data ABl24 caninclude call ID information that indicates the call is an 800 numberre-routing call, and the type of processing required to handle the call.Because call processing system AB102 is highly data driven, the type ofcall processing required for a call type can be customized for aspecific originating user AA106A or customer AA110. Changes to the wayin which a particular call is processed can be accomplished simply bychanging the data in the data records retrieved by NCP AB104 whendetermining the call processing requirements.

Operator control data AB124 tells the specified operator console AB108that it is receiving a call and how the call should be processed.

Even though the preferred handling is provided through a VRU AB134, thecall can be handled by either a manual operator console AB132 or a VRUAB134. Users AA106A or customers AA110 may specify whether automatedcall handling is acceptable or whether they prefer that their calls arealways handled by a human operator at a manual operator console AB132.In one embodiment, this is controlled by call parameters BA308 and canbe easily be changed by changing the data found in data recordsretrieved for one or more originating users AA106A or customers AA110.

If the user AA106A or customer AA110 requested a human operator, theoperation continues in a step YD304 as illustrated in FIG. 170. On theother hand, if the call can be handled using an automated VRU AB134, theoperation continues in a step YD204 as illustrated in FIG. 169. Themanner in which the call is set up using an automated VRU AB134 is nowdescribed with reference to FIG. 169.

Referring now to FIG. 169, in a step YD204, the specified VRU AB134requests information from originating user AA106A. The request can be arequest for the 800 number to be re-routed, a security code, and thenumber to which it should be routed. The user may be asked to confirmthe re-route of the number by pressing a specified key (or key sequence)on the telephone keypad. The order in which VRU AB134 requests this callinformation can be customized for each carrier AA110 or for eachindividual user AA106A. The customization can be based on callparameters BA308 and/or the manner in which DEF records are implementedfor each originating user AA106A or customer AA110. DEF records arecompletely described in the DEF Section of this document.

In a step YD208, the 800 number and the security code entered by thecaller are sent to be validated. In one embodiment, this validation isperformed using a translation database ZA106 (illustrated in FIG. 207).In alternative embodiments, validation can be performed internally inconjunction with callID look-up. Additional information entered by thecaller is also validated in this step. An internal validation systemdetermines if validation by Validation System AG102 is required. If suchvalidation is required, it is performed as well.

In a step YD212, the terminating number to which the 800 number is to bere-routed is validated to verify that it is a valid number. In oneembodiment, this is accomplished by using an internal validation systemto determine whether it is a valid number. A validation check caninclude a check to see that the number contains the correct number ofdigits, that is made to a geographic area as allowed by the customerAA110, has a valid area code, and other like validation information.

In a step YD216, Fraud detection and prevention system AG112 can be usedin one embodiment, to monitor the call for potential fraudulent uses.Such monitoring is fully described in the Fraud System Section of thisdocument.

In a step YD218, the number to which the 800 number should route isreplayed and the caller is requested to press a key (or key sequence) toaccept the re-routing. If the change is accepted, a call processingdatabase is updated with the new number.

If all the information entered by originating user AA106A is valid(decision block YD220) the operation continues in a step YD404 (FIG.171) in which the call completion commences. If, on the other hand, anyor all of the information is found to be invalid, in a step YD222,automated VRU AB134 informs NCP AB104 that the call is invalid and givesthe caller a second chance to re-enter the information. The informationis again validated as illustrated by feedback loop YD262. Alternatively,the call could be terminated when information is found to be invalideither before or after the second chance is provided. The number ofchances, if any, provided to a caller is customizable on a per userAA106 or per customer AA110 basis.

If the caller declines to re-enter the information, or if the secondchance is already exhausted, call audio AA142 is routed back to matrixswitch AB106, and NCP AB104 instructs matrix switch AB106 to route callaudio AA142 to a manual operator console AB132. This occurs in a stepYD226. This is done so that human operator intervention can be provided.The steps taken from this point are described beginning in a step YD316in FIG. 170. This is described in detail below with reference tohandling of the call with a manual operator console AB132.

As discussed above with reference to step YD122 of FIG. 168, if manualoperator handling is desired, the operation continues at a step YD304 inFIG. 170. Referring now to FIG. 170, the human operator requestsinformation from a caller and enters the received information via akeyboard attached to the manual operator console AB132. The request canbe a request for the 800 number to be re-routed, a security code, andthe number to which it should be routed. The user may be asked toconfirm the re-route of the number. The operator is prompted to make therequest by prompts appearing on the operator screen. The order in whichthis call information is requested can be customized for each carrierAA110 or for each individual user AA106A. The customization can be basedon call parameters BA308 and/or the manner in which DEF records areimplemented for each originating user AA106A or customer AA110. DEFrecords are completely described in the DEF section of this document.

In a step YD308, operator console AB132 performs validations, whererequired, as described above with reference to steps YD208, YD212, andYD216. Operator console AB132 may also ask for confirmation of thenumber to which the 800 number is to be re-routed. If the validatedinformation checks out to be valid (decision block YD312) the operationcontinues in a step YD404 (illustrated in FIG. 171) in which the call iscompleted. If, on the other hand, one of the validated parameters provesto be invalid, the operator informs originating user AA106A of theproblem and provides options to solve the problem. This occurs in a stepYD316. These options can include asking the originating user AA106A fora new security code, a new re-route number, or other alternativeinformation. If alternative information is provided, manual operatorconsole AB132 validates this alternative information in a step YD308.This is illustrated with a feedback loop YD342. If no alternatives areprovided, or the caller declines to furnish the information, the call isterminated as illustrated in a step YD320.

When all information is entered and validated, the 800 number can beprogrammed to re-route. This is illustrated in FIG. 171. Referring nowto FIG. 171, in a step YD404, operator console AB108 informs NCP AB104that the 800 number is to be re-routed when called. In one embodiment,this information has operator response data AB126.

In a step YD408, NCP updates a master call processing database .

In step YD412, Distribution System HA100 (illustrated in FIG. 93)updates the affected Slave Databases HA110.

In a step YD416, the caller is informed that the re-routing is completedand all calls on that 800 number will be forwarded to the designatednumber when received. If the change is made using a VRU AB134, theinformation is provided by taped or synthesized voice. If made by ahuman operator at a MOC AB132, a script is read from the operatorscreen.

In a step YD418, the call is terminated.

12.5 DIRECT-DIAL LONG-DISTANCE CALLING

A high level scenario describing the manner in which a direct-diallong-distance call is processed by call processing system AB102 is nowpresented. FIG. 172, is an operational flow diagram illustrating theplacement of a direct-dial long-distance call. Referring now to FIG.172, in a step YE104, call processing system AB102 receives adirect-dial long-distance call (for example a 1+ call). In a step YE108,call data AA144 associated with the call is routed to NCP AB104. Callaudio AA142 of the call is routed to matrix switch AB106.

In a step YE112, NCP AB104 assigns a callhandle BA305 to identify thecall. Callhandle BA305 is a unique number used to identify the call ateach phase of processing within call processing system AB102. CallhandleBA305 is also used to identify the call for billing purposes.

In a step YE116, NCP AB104 determines the type of processing to beprovided to the call. This is accomplished by determining the callparameters BA308 for the call.

In a step YE120, the call is validated to determine whether it should becompleted. One parameter that may be validated for the call is thecalled number. The validation check can include a check to see that thenumber contains the correct number of digits, that is made to ageographic area as allowed by the customer AA110, has a valid area code,and other like validation information.

In a step YE124, if the call is valid, it is completed to thedestination. This is accomplished as described above with reference tosteps YA408 through YA416 in FIG. 171. If the call is invalid, it caneither be terminated, or the audio AA142 routed to an operator consoleAB108 to inform the user AA106 that the call cannot be completed. Themanner in which the call is routed to operator console AB108 isdescribed above with reference to steps YA116 to YA122 in FIG. 155.

13.0 OPERATOR CONSOLE DISPLAY

When a call is routed to a MOC AB132, information derived from operatorcontrol data AB124 is displayed on an operator display screen. Anexample implementation of an operator display screen is now described.FIG. 205 is a diagram illustrating an example implementation of anoperator display screen. Referring now to FIG. 205, in one embodiment anoperator display screen VA100 comprises five key areas. A script portionVA102 is the portion of the screen in which a script appears that isread by the operator when greeting or addressing the caller. Anorigination portion VA104 is a portion of the screen in whichinformation about the origin of the call is displayed. A terminationportion VA108 is a portion of the screen in which information about thetermination (actual or desired) of the call is displayed. An informationportion VA106 of the screen displays information about the call and thecall type. Finally, a function key portion VA114 displays informationabout the functions performed when a particular function key is pressed.

An example of display screen VA100 with call information is nowdescribed. FIG. 206 is a diagram illustrating an example of displayscreen VA100 with call information displayed thereon. Referring now toFIG. 206, script portion VA102 displays the script to be read to theuser AA106A. In this example the script "May I have the area code andnumber you are calling?" is displayed so it can be read by the operator.The script displayed is dependent upon the call type and at what stagethe call is in call processing. As described in the DEF Section of thisapplication, one method used to determine the script to be displayed(and therefore read) is by using processes TA102, TA106, and DEF recordsTA104.

The origination portion VA104 in this example indicates that theduration of the call up to the current time is 20 seconds. In oneembodiment, the duration updates once per second. The local time at theorigination point is 7:22:01. The time is also updated once per secondin one embodiment. Also displayed on the origination portion VA104 isthe origination user's name, area code and phone number, and city andstate. If the originating user AA106A is a client of a customer, thatinformation is displayed in the field designated "carrier."

The call information portion VA106 in this example includes a call type,a billing number, and a called number. In this case, the call type is aLinkUSA enhanced services card (ESC). Because in this example the userdialed the ESC number, no called number appears on the screen.

When a call is completed, the termination portion displays theterminating user's name, area code and phone number, and city and state.The termination portion VA108 also includes the call duration from thetime the call was completed and the completion time.

14. CONCLUSION

While various embodiments of the present invention have been describedabove, it should be understood that they have been presented by way ofexample only, and not limitation. Thus, the breadth and scope of thepresent invention should not be limited by any of the above-describedexemplary embodiments, but should be defined only in accordance with thefollowing claims and their equivalents.

It should be noted that the block diagrams depicted throughout thisdocument illustrate an example of how the functionality of the varioussystems can be implemented. Although physical or logical architecturesmay be inferred by the diagrams and the text describing these diagrams,it is important to note that this is done by way of example only.Numerous alternative physical and/or logical architectures can be chosenwhen implementing the systems described herein.

    ______________________________________                                        APPENDIX                                                                             REF    FIG.                                                            ______________________________________                                               AA1     1                                                                     AD1     2                                                                     AB1     3                                                                     AB2     4                                                                     AC1     5                                                                     AE0     6                                                                     AE1     7                                                                     AFI     8                                                                     AG1     9                                                                     BA1     10                                                                    BA0     11                                                                    BA2     12                                                                    BC1     13                                                                    BA3     14                                                                    BD0     15                                                                    BD1     16                                                                    BD2     17                                                                    BD3     18                                                                    BE0     19                                                                    BE1     20                                                                    BE2     21                                                                    BE3     22                                                                    BF1     23                                                                    CC1     24                                                                    CA1     25                                                                    CB1     26                                                                    DD1     27                                                                    DB1     28                                                                    DG1     29                                                                    DE0     30                                                                    DE1     31                                                                    DF1     32                                                                    DM1     33                                                                    DM0     34                                                                    DM2     35                                                                    DM3     36                                                                    DH1     37                                                                    DJ0     38                                                                    DJ1     39                                                                    DJ2     40                                                                    DK0     41                                                                    DK1     42                                                                    DK2     43                                                                    DK3     44                                                                    DK4     45                                                                    DL1     46                                                                    DL2     47                                                                    DL3     48                                                                    DL4     49                                                                    EE1     50                                                                    EE3     51                                                                    EE1     52                                                                    EA1     53                                                                    EB1     54                                                                    EG1     55                                                                    EG2     56                                                                    EC0     57                                                                    EC1     58                                                                    EC2     59                                                                    EH1     60                                                                    EK1     61                                                                    EL1     62                                                                    EM1     63                                                                    EP1     64                                                                    ER1     65                                                                    ET1     66                                                                    ET2     67                                                                    ET3     68                                                                    FA2     69                                                                    FA1     70                                                                    FB0     71                                                                    FB1     72                                                                    FB2     73                                                                    FC1     74                                                                    FD1     75                                                                    FD2     76                                                                    FD3     77                                                                    FF4/FF8                                                                              78A/78B                                                                FF7     79                                                                    FF1     80                                                                    FF2     81                                                                    FF3     82                                                                    FF5     83                                                                    FG1     84                                                                    FG2     85                                                                    FG3     86                                                                    GA1     87                                                                    GA2     88                                                                    GA3     89                                                                    GA0     90                                                                    GA4     91                                                                    GA5     92                                                                    HA1     93                                                                    HA2     94                                                                    HB1     95                                                                    HB2     96                                                                    HB3     97                                                                    HC1     98                                                                    HB4     99                                                                    HB5    100                                                                    JA1    101                                                                    JA2    102                                                                    JB1    103                                                                    LA1    104                                                                    LA2    105                                                                    LA3    106                                                                    LA4    107                                                                    LD1    108                                                                    LD2    109                                                                    LE2    110                                                                    LD3    111                                                                    LL1    112                                                                    KA1    113                                                                    KA2    114                                                                    KA4    115                                                                    KA5    116                                                                    KA6    117                                                                    KB1    118                                                                    KB0    119                                                                    KB2    120                                                                    KB4    121                                                                    RA1    122                                                                    RA0    123                                                                    RA2    124                                                                    RA3    125                                                                    RB1    126                                                                    RB2    127                                                                    RC1    128                                                                    RL0    129                                                                    RC2    130                                                                    RC3    131                                                                    SA1    132                                                                    SA2    133                                                                    SA3    134                                                                    SB1    135                                                                    SB2    136                                                                    SB4    137                                                                    SB3    138                                                                    SB0    139                                                                    SB4    140                                                                    SB7    141                                                                    SB5    142                                                                    SB6    143                                                                    SC1    144                                                                    SC2    145                                                                    SD1    146                                                                    SD2    147                                                                    SF1    148                                                                    SF2    149                                                                    TA1    150                                                                    TA2    151                                                                    TB1    152                                                                    TB2    153                                                                    YA0    154                                                                    YA1    155                                                                    YA2    156                                                                    YA3    157                                                                    YA4    158                                                                    YB0    159                                                                    YB1    160                                                                    YB2    161                                                                    YC0    162                                                                    YC1    163                                                                    YC2    164                                                                    YC3    165                                                                    YC4    166                                                                    YD0    167                                                                    YD1    168                                                                    YD2    169                                                                    YD3    170                                                                    YD4    171                                                                    YE1    172                                                                    PB1    173                                                                    PC1    174                                                                    PA1    175                                                                    PF1    176                                                                    PD1    177                                                                    PE1    178                                                                    PO4    179                                                                    PP1    180                                                                    PP2    181                                                                    PP3    182                                                                    PP4    183                                                                    PQ0    184                                                                    PQ1    185                                                                    PR1    186                                                                    PR2    187                                                                    PR3    188                                                                    PR4    189                                                                    PR5    190                                                                    PS1    191                                                                    PS2    192                                                                    PZ1    193                                                                    PZ2    194                                                                    PZ3    195                                                                    PG1    196                                                                    PH1    197                                                                    PI1    198                                                                    PJ1    199                                                                    PK1    200                                                                    PL1    201                                                                    PM1    202                                                                    PN1    203                                                                    KB3    204                                                                    VA1    205                                                                    VA1    206                                                                    ZA1    207                                                             ______________________________________                                    

What is claimed is:
 1. A system for call processing in an operatorconsole, comprising:means for receiving operator control data for acall, said operator control data comprising a base process number and adata record number; means for retrieving a data record identified bysaid data record number; and means for executing a base processidentified by said base process number to process said call, whereinsaid base process is a process template that identifies steps to befollowed by the operator console in processing said call, said baseprocess being coded to look for information within said data record thatindicates how said call should be processed by said base process.
 2. Thesystem of claim 1, wherein said data record comprises a data recordnumber uniquely identifying said data record, and at least one tagnumber and an associated data field.
 3. The system of claim 2, whereincustomized features for specific users are added, changed or deleted bymodifying said data record, wherein said modification is transparent tosaid operator console.
 4. The system of claim 2, wherein a data field insaid data record includes a pointer to script data stored in a database.5. The system of claim 1, further comprising means for starting a finishprocess after said base process is completed, said finish processutilizing information in a second data record.
 6. The system of claim 5,wherein said finish process starts a complete call process thatcompletes said call.
 7. The system of claim 2, wherein said data recordis defined at multiple levels including a specific data record, a groupdata record and a generic data record.
 8. A method for call processingin an operator console, comprising the steps of:(1) receiving operatorcontrol data for a call, said operator control data comprising a baseprocess number and a data record number; (2) retrieving a data recordidentified by said data record number; and (3) executing a base processidentified by said base process number to process said call, whereinsaid base process is a process template that identifies steps to befollowed by the operator console in processing said call, said baseprocess being coded to look for information within said data record thatindicates how said call should be processed by said base process.
 9. Themethod of claim 8, wherein said step (2) comprises the step ofretrieving a data record that comprises a data record number uniquelyidentifying said data record, and at least one a tag number and anassociated data field.
 10. The method of claim 9, further comprising thestep of customizing a call processing method by modifying said datarecord, wherein said step of modifying is transparent to said operatorconsole.
 11. The method of claim 9, wherein said step (2) comprises thestep of retrieving a data record that includes a data field having apointer to script data stored in a database.
 12. The method of claim 8,further comprising the step of starting a finish process after said baseprocess is completed, said finish process utilizing information in asecond data record.
 13. The method of claim 12, further comprising thestep of starting a finish process that starts a complete call processthat completes said call.
 14. The method of claim 9, further comprisingthe step of searching sequentially through a specific data record, agroup data record and a generic data record to find a data field. 15.The system of claim 3, wherein a data field in said data record includesan identifier to start an additional process.
 16. The system of claim 3,wherein a data field in said data record includes a string to becompared with user input.
 17. The system of claim 1, wherein saidoperator control data is received from a network control processor thatis coupled to a matrix switch that routes said call to the operatorconsole.
 18. The method of claim 9, wherein said step (2) comprises thestep of retrieving a data record that includes a data field having anidentifier to start an additional process.
 19. The method of claim 9,wherein said step (2) comprises the step of retrieving a data recordthat includes a data field having a string to be compared with userinput.
 20. The method of claim 8, wherein said step (1) comprises thestep of receiving operator control data from a network control processorcoupled to a matrix switch that routes said call to the operatorconsole.
 21. The system of claim 15, wherein said additional process isa validation process.
 22. The system of claim 15, wherein saidadditional process is a second base process.
 23. The method of claim 18,further comprising the step of starting a validation process that isindentified by a data field in said data record.
 24. The method of claim18, further comprising the step of starting a second process that isidentified by a data field in said data record.
 25. A method forprocessing telephone calls, comprising the steps of:(a) receiving a callfrom a subscriber having call data and call audio; (b) using said calldata to determine a process and a DEF record to be used in processingthe call, wherein said process is defined by a process identifier andsaid DEF record is defined by a DEF record identifier; (c) sending saidprocess identifier and said DEF record identifier to an operator consoleallocated to handle said call; (d) starting said process identified bysaid process identifier; (e) retrieving data from said DEF record basedon tag information contained in said process, wherein said retrieveddata contains information pertaining to actions to be followed inhandling the call; and (f) performing actions indicated by saidretrieved data.